summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-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