diff options
author | James Youngman <jay@gnu.org> | 2010-10-23 12:49:37 +0100 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2010-10-23 12:49:37 +0100 |
commit | 107af5aa0cd8cb6551e12c3ed0c21066f0fbd19f (patch) | |
tree | 4d680be3aaf4829946bb04af040f151b051cf954 /lib/Makefile.am | |
parent | 9f1ee0e46648f782263cee72135f71db835248df (diff) | |
download | findutils-107af5aa0cd8cb6551e12c3ed0c21066f0fbd19f.tar.gz |
Savannah bug #31424: Work around Interix bug in _SC_ARG_MAX, in which execve will fail with ENOMEM if we use a command line somewhere between ARG_MAX and _SC_ARG_MAX.
* lib/arg-max.h: New file: undefine _SC_ARG_MAX if we cannot rely
on the value that sysconf produces.
* lib/Makefile.am (libfind_a_SOURCES): Add arg-max.h.
* lib/buildcmd.c: #include arg-max.h.
* xargs/xargs.c: Likewise.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 029037e5..79c431a4 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -34,7 +34,7 @@ INCLUDES = -I../gnulib/lib -I$(top_srcdir)/gnulib/lib LDADD = ../gnulib/lib/libgnulib.a $(LIBINTL) libfind_a_SOURCES += nextelem.h printquoted.h listfile.h \ - regextype.h dircallback.h safe-atoi.h + regextype.h dircallback.h safe-atoi.h arg-max.h libfind_a_SOURCES += listfile.c nextelem.c extendbuf.c buildcmd.c savedirinfo.c \ forcefindlib.c qmark.c printquoted.c regextype.c dircallback.c fdleak.c \ safe-atoi.c |