This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A patch for typo in include/bits/xopen_lim.h


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.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]