Date: Sun, 21 Nov 2010 10:55:16 +0000 (UTC) From: Stephen McKay <mckay@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/xargs xargs.c Message-ID: <201011211055.oALAtQ5Q010192@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckay 2010-11-21 10:55:16 UTC
FreeBSD src repository
Modified files:
usr.bin/xargs xargs.c
Log:
SVN rev 215615 on 2010-11-21 10:55:16Z by mckay
xargs can be fooled by exiting children that it did not start, causing
it to kick off a new command before the previous has finished, resulting
in corrupted (interleaved) output. It is also fooled by non-exiting
children it did not start, failing to exit until all extraneous children
have exited.
This patch makes xargs keep track of children it starts, ignoring
pre-existing ones.
Revision Changes Path
1.63 +118 -5 src/usr.bin/xargs/xargs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011211055.oALAtQ5Q010192>
