A patch for typo in include/bits/xopen_lim.h
H . J . Lu
hjl@valinux.com
Sat Sep 16 12:07:00 GMT 2000
I believe it is a typo. Here is a patch.
--
H.J. Lu (hjl@gnu.org)
---
2000-09-16 H.J. Lu <hjl@gnu.org>
* include/bits/xopen_lim.h (LONG_BIT): Check LONG_MAX not
INT_MAX.
Index: include/bits/xopen_lim.h
===================================================================
RCS file: /work/cvs/gnu/glibc/include/bits/xopen_lim.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 xopen_lim.h
--- include/bits/xopen_lim.h 2000/05/21 21:11:02 1.1.1.1
+++ include/bits/xopen_lim.h 2000/09/16 19:05:19
@@ -104,7 +104,7 @@
#endif
/* Number of bits in a word of type `long int'. */
-#if INT_MAX == 2147483647
+#if LONG_MAX == 2147483647
# define LONG_BIT 32
#else
/* Safe assumption. */
More information about the Libc-hacker
mailing list