freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] tds_money_to_string conversion oddity
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] tds_money_to_string conversion oddity
- Date: Mon, 08 Dec 2003 09:52:01 -0000
Il dom, 2003-12-07 alle 23:13, Craig A. Berry ha scritto:
> At 3:18 PM +0100 12/7/03, Frediano Ziglio wrote:
> >
> >No, usually on 64bit long is 64bit... The only 64bit platform that do
> >not have a native C int 64 is windows... you know, compatibility
> >problems...
>
> Just FYI, OpenVMS Alpha and Itanium also default to 32-bit long ints
> and also for compatibility reasons, in their case with VAX. My guess
> is Mac OS X would do a similar thing on the G5, but I don't know.
>
My fault... However Linux and others unices use long as 64bit int...
> >IMHO sprintf should not be used and code for old platforms should be
> >rewritten... however I don't really know if other money code in
> >convert.c work for such platform... Do anyone know a test platform I can
> >use or just can do some tests for me?
>
> What qualifies as an "old platform" in this question? I.e., what
> particular feature tests are we talking about that would exercise the
> code you haven't been able to test?
Platforms that do not support 64 bit int. In this case code you spot
should not be executed/compiled.
freddy77
-
[freetds] tds_money_to_string conversion oddity,
Craig A. Berry, 12/06/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Craig A. Berry, 12/06/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
James K. Lowden, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Frediano Ziglio, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Craig A. Berry, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Frediano Ziglio, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Craig A. Berry, 12/07/2003
- Re: [freetds] tds_money_to_string conversion oddity, Frediano Ziglio, 12/08/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
James K. Lowden, 12/07/2003
- Re: [freetds] tds_money_to_string conversion oddity, Frediano Ziglio, 12/08/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Craig A. Berry, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Frediano Ziglio, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Craig A. Berry, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Frediano Ziglio, 12/07/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
James K. Lowden, 12/07/2003
- <Possible follow-up(s)>
-
RE: [freetds] tds_money_to_string conversion oddity,
Lowden, James K, 12/08/2003
- RE: [freetds] tds_money_to_string conversion oddity, Chris Eleveld, 12/08/2003
-
RE: [freetds] tds_money_to_string conversion oddity,
Craig Berry, 12/08/2003
-
RE: [freetds] tds_money_to_string conversion oddity,
Frediano Ziglio, 12/08/2003
- Re: [freetds] tds_money_to_string conversion oddity, James K. Lowden, 12/09/2003
-
RE: [freetds] tds_money_to_string conversion oddity,
Frediano Ziglio, 12/08/2003
-
Re: [freetds] tds_money_to_string conversion oddity,
Craig A. Berry, 12/06/2003
Archive powered by MHonArc 2.6.24.