[uClibc-cvs] uClibc/libc/sysdeps/linux/common/bits posix1_lim.h, 1.1, 1.2
Manuel Novoa III
mjn3 at uclibc.org
Fri Jan 2 07:01:16 UTC 2004
Update of /var/cvs/uClibc/libc/sysdeps/linux/common/bits
In directory nail:/tmp/cvs-serv24214
Modified Files:
posix1_lim.h
Log Message:
Minor fix from upstream glibc.
Index: posix1_lim.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/bits/posix1_lim.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- posix1_lim.h 1 Mar 2002 20:46:02 -0000 1.1
+++ posix1_lim.h 2 Jan 2004 07:01:13 -0000 1.2
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,96,98,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993,96,98,2000,01,02,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -60,7 +60,11 @@
#define _POSIX_MQ_PRIO_MAX 32
/* Number of simultaneous supplementary group IDs per process. */
-#define _POSIX_NGROUPS_MAX 0
+#ifdef __USE_XOPEN2K
+# define _POSIX_NGROUPS_MAX 8
+#else
+# define _POSIX_NGROUPS_MAX 0
+#endif
/* Number of files one process can have open at once. */
#define _POSIX_OPEN_MAX 16
@@ -127,7 +131,7 @@
#ifndef SSIZE_MAX
-# define SSIZE_MAX INT_MAX
+# define SSIZE_MAX LONG_MAX
#endif
@@ -135,7 +139,7 @@
The current maximum can be got from `sysconf'. */
#ifndef NGROUPS_MAX
-# define NGROUPS_MAX _POSIX_NGROUPS_MAX
+# define NGROUPS_MAX 8
#endif
#endif /* bits/posix1_lim.h */
More information about the uClibc-cvs
mailing list