Subject: CVS commit: [netbsd-3] src/usr.bin/xargs
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 01/21/2008 21:17:56
Module Name:	src
Committed By:	bouyer
Date:		Mon Jan 21 21:17:56 UTC 2008

Added Files:
	src/usr.bin/xargs [netbsd-3]: strnsubst.c

Log Message:
Pull up following revision(s) (requested by apb in ticket #1893):
	usr.bin/xargs/strnsubst.c: revision 1.1
	usr.bin/xargs/xargs.1: revision 1.18, 1.19
	usr.bin/xargs/Makefile: revision 1.4
	usr.bin/xargs/pathnames.h: revision 1.6
	usr.bin/xargs/xargs.c: revision 1.15, 1.16, 1.18
Query kernel for maximum argument size instead of using ARG_MAX.
PR/34182 from der Mouse -- clarify -0 option
Bring in xargs from FreeBSD to gain -I, -J etc. but keep our GNU compatible
exit values.
Add more detail in comments about maximum size of environment and
arguments passed by xargs(1) to execvp(2).  Research done while
investigating PR 37666, which is not a problem in -current.
Fix PR/34182, PR/36154 and PR/37666.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1.10.2 src/usr.bin/xargs/strnsubst.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.