svn commit: r215615 - head/usr.bin/xargs

Garrett Cooper gcooper at FreeBSD.org
Sun Nov 21 14:15:41 UTC 2010


On Sun, Nov 21, 2010 at 2:55 AM, Stephen McKay <mckay at freebsd.org> wrote:
> Author: mckay
> Date: Sun Nov 21 10:55:16 2010
> New Revision: 215615
> URL: http://svn.freebsd.org/changeset/base/215615
>
> Log:
>  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.

    Unfortunately this broke tinderbox and compile on HEAD. Could you
please commit the following patch that fixes the compile and a handful
of style(9) violations in the new code?
Thanks!
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xargs-fix-style.patch
Type: text/x-patch
Size: 1491 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20101121/5b1fe24d/xargs-fix-style.bin


More information about the svn-src-head mailing list