From 13b74a58c268897b870cdcd1d649ec0138fc61c4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 12 Mar 2002 01:52:54 +0000 Subject: Fixup redefinition of NL_ARGMAX --- libc/sysdeps/linux/common/bits/uClibc_stdio.h | 2 +- libc/sysdeps/linux/common/bits/xopen_lim.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps') 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 -- cgit v1.2.3