This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Bug in limits.h (Was: glibc 2.1.96)
- To: drepper at cygnus dot com
- Subject: Bug in limits.h (Was: glibc 2.1.96)
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 29 Oct 2000 01:42:01 +0200
- CC: libc-alpha at sourceware dot cygnus dot com
- References: <m33dhipuiu.fsf@otr.mynet.cygnus.com>
> As usual (I must say) the feedback was rare.
Well, maybe people should produce traffic by re-reporting bugs that
haven't been fixed...
In glibc 2.1.96, compiling
#define _GNU_SOURCE
#include <limits.h>
int main()
{
printf("%d\n",LONG_BIT);
}
with gcc 2.95.2 on i586-pc-linux-gnu produces a program which prints
"64"; this is incorrect.
Regards,
Martin