summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-01-02 07:01:13 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-01-02 07:01:13 +0000
commit950fed3a6bb8a4e24b4d6a6c7a3a2f7b11b42b77 (patch)
tree86fd948cfa2aa5158796aafccdd1e62e94b481f4 /libc
parent9f04c85b35a0efa6009e610d45dfb3f5d2dbfa22 (diff)
Minor fix from upstream glibc.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/posix1_lim.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/bits/posix1_lim.h b/libc/sysdeps/linux/common/bits/posix1_lim.h
index e16f4674d..9379d46f4 100644
--- a/libc/sysdeps/linux/common/bits/posix1_lim.h
+++ b/libc/sysdeps/linux/common/bits/posix1_lim.h
@@ -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 */