bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stdint_.h incorrectly assumes unsigned of 'int64_t'


From: Matthew Woehlke
Subject: stdint_.h incorrectly assumes unsigned of 'int64_t'
Date: Thu, 09 Nov 2006 17:49:32 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

stdint_.h has this:

#undef uintmax_t
#if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1
# define uintmax_t unsigned long long int
#elif defined int64_t
# define uintmax_t uint64_t
#else
# define uintmax_t unsigned long int
#endif

...which I assume those who have been following my NSK woes will immediately spot the flaw in? :-)

(This was stdint_.h from coreutils-6.4, IIRC someone had said that should be more recent than patches that went in for NSK? Also I'm actually trying to build m4 at the moment; should I be cc'ing bugs-m4 on this stuff?)

--
Matthew
"You're older than you've ever been / And now you're even older"
  -- They Might Be Giants





reply via email to

[Prev in Thread] Current Thread [Next in Thread]