httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org (Rodent of Unusual Size)
Subject Re: Agenda for 1.2b7
Date Thu, 06 Feb 1997 12:26:05 GMT
>From the fingers of Marc Slemko flowed the following:
>
>On Wed, 5 Feb 1997, Dean Gaudet wrote:
>
>> >   * 64-bit issues; general cleanup, ap_snprintf("%d", (int)-1) giving
>> >     wrong behavior on Alpha boxes.
>> 
>> I'm still waiting for a description of the error...
>
>ap_snprintf(foo, "%d", (int)-1) should give (2^32)-1 on the Alpha, since
>even though it is 64 bit ints are still 32-bit.  It gives (2^64)-1.

    I must be missing something.  The above (with a len argument
    added) gives me the output of "-1" on my Alpha box.  What's wrong
    with that?

    #ken    :-)}

Mime
View raw message