<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite/xargs.tests, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2020-12-29T15:53:11+00:00</updated>
<entry>
<title>randomconfig fixes</title>
<updated>2020-12-29T15:53:11+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-29T15:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=77a51a2709de1b646ab493f0bf771d896de6efc2'/>
<id>urn:sha1:77a51a2709de1b646ab493f0bf771d896de6efc2</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xargs: fix -I SUBSTR behaviour</title>
<updated>2020-09-29T22:00:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-09-29T22:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd202a5ec15b82ba9562cdd81157e703349d8459'/>
<id>urn:sha1:bd202a5ec15b82ba9562cdd81157e703349d8459</id>
<content type='text'>
function                                             old     new   delta
process_stdin_with_replace                           165     204     +39

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xargs: restore correct behaviour of -n option</title>
<updated>2020-04-29T13:53:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-02-19T11:01:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1c462d47a0bc92f9f57af223456df53169acf3fe'/>
<id>urn:sha1:1c462d47a0bc92f9f57af223456df53169acf3fe</id>
<content type='text'>
Since commit 1ff7002b1 (xargs: fix handling of quoted arguments, closes
11441) the -n option hasn't worked properly:

   $ echo 1 2 3 | xargs -n 1 echo
   1
   2

   3

   $

Because state is now remembered between calls to process_stdin() it's
necessary to update the state before any premature return.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xargs: fix handling of quoted arguments, closes 11441</title>
<updated>2020-01-29T13:39:13+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-01-24T13:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1ff7002b1d229c678fdffebec602fb4c54439a31'/>
<id>urn:sha1:1ff7002b1d229c678fdffebec602fb4c54439a31</id>
<content type='text'>
As reported in bug 11441 when presented with a large number of quoted
arguments xargs can return 'argument line too long':

   seq 10000 29999 | sed -e 's/^/"/' -e 's/$/"/' | busybox xargs echo

This happens because the variant of process_stdin() which handles quoted
arguments doesn't preserve state between calls.  If the allowed number
of characters is exceeded part way through a quoted argument the next
call to process_stdin() incorrectly treats the terminating quote as a
starting quote, thus quoting all of the argument separators.

function                                             old     new   delta
process_stdin                                        274     303     +29
xargs_main                                           731     745     +14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 43/0)               Total: 43 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>*: make GNU licensing statement forms more regular</title>
<updated>2010-08-16T18:14:46+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-08-16T18:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0ef64bdb40c54681e8dd5ab8df42ac88e4ab1d4a'/>
<id>urn:sha1:0ef64bdb40c54681e8dd5ab8df42ac88e4ab1d4a</id>
<content type='text'>
This change retains "or later" state! No licensing _changes_ here,
only form is adjusted (article, space between "GPL" and "v2" and so on).

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xargs: fix accounting of -sNUM</title>
<updated>2010-06-13T10:43:54+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-06-13T10:43:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=aaa24e09f98f2694f25abb08cee1a74d7f114b7f'/>
<id>urn:sha1:aaa24e09f98f2694f25abb08cee1a74d7f114b7f</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xargs: code shrink -15 bytes</title>
<updated>2010-06-13T01:43:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-06-13T01:43:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d5fa1a0f49c4872f614a4674922f4362b114fece'/>
<id>urn:sha1:d5fa1a0f49c4872f614a4674922f4362b114fece</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>tests: fix POSIX shell source style</title>
<updated>2009-11-04T23:41:22+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-11-04T23:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=caa79406aa3d9aac512ad5a32968398cb1c2dde0'/>
<id>urn:sha1:caa79406aa3d9aac512ad5a32968398cb1c2dde0</id>
<content type='text'>
The source command does not search $PWD, and bash recently fixed itself to
follow this behavior for /bin/sh.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>xargs: fix -e default to match newer GNU xargs, add SUS mandated -E.</title>
<updated>2008-08-04T21:30:55+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-08-04T21:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=82ad032e263de5d69a70cc9b169aab393f5a2b50'/>
<id>urn:sha1:82ad032e263de5d69a70cc9b169aab393f5a2b50</id>
<content type='text'>
 closes bug 4414

</content>
</entry>
<entry>
<title>xargs: fix xargs -e; added test for that</title>
<updated>2008-08-03T19:12:25+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-08-03T19:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cc08ad26fe371e0b0bdbc58343c1f33a8840d2a0'/>
<id>urn:sha1:cc08ad26fe371e0b0bdbc58343c1f33a8840d2a0</id>
<content type='text'>
</content>
</entry>
</feed>
