summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-12 01:52:54 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-12 01:52:54 +0000
commit13b74a58c268897b870cdcd1d649ec0138fc61c4 (patch)
tree0efea30662a6cb6d1bf7e324d9c0746d501a5362 /libc
parent870f09e54eb0a7e1651dd2066589627d312f77e2 (diff)
Fixup redefinition of NL_ARGMAX
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_stdio.h2
-rw-r--r--libc/sysdeps/linux/common/bits/xopen_lim.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
index 87d4b99ae..becb0fa33 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
@@ -104,7 +104,7 @@ typedef int __wchar_t; /* TODO: temporary, as not currently uClibc */
/**********************************************************************/
/* TODO -- posix or gnu -- belongs in limits.h and >= 9 for sus */
/* NOTE: for us it is currently _always_ 9 */
-#define NL_ARGMAX 9
+/*#define NL_ARGMAX 9*/
/* TODO -- where should this go? */
#ifndef O_LARGEFILE
diff --git a/libc/sysdeps/linux/common/bits/xopen_lim.h b/libc/sysdeps/linux/common/bits/xopen_lim.h
index 7f3611860..90cb54123 100644
--- a/libc/sysdeps/linux/common/bits/xopen_lim.h
+++ b/libc/sysdeps/linux/common/bits/xopen_lim.h
@@ -67,8 +67,8 @@
/* Maximum value of `digit' in calls to the `printf' and `scanf'
- functions. We have no limit, so return a reasonable value. */
-#define NL_ARGMAX _POSIX_ARG_MAX
+ functions. Posix dictates this should be a minimum of 9 */
+#define NL_ARGMAX 9
/* Maximum number of bytes in a `LANG' name. We have no limit. */
#define NL_LANGMAX _POSIX2_LINE_MAX