<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/findutils, branch realpath</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=realpath</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=realpath'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2018-05-13T07:15:58+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-05-13T07:15:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-05-13T07:15:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d'/>
<id>urn:sha1:3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>free: improve --help for type option</title>
<updated>2018-04-24T08:13:45+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-24T08:13:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f4eaccbfaee58d00f53fe106d018f4e9687b2e27'/>
<id>urn:sha1:f4eaccbfaee58d00f53fe106d018f4e9687b2e27</id>
<content type='text'>
Patch by Fred Friedrich.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-04-09T07:50:34+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-04-09T07:50:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=921c1ab66bad54d4ad8591bb74e41ac985248496'/>
<id>urn:sha1:921c1ab66bad54d4ad8591bb74e41ac985248496</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xargs: use bb_ask_y_confirmation_FILE() instead of homegrown copy</title>
<updated>2018-04-07T13:23:10+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-07T13:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bae8fc4436f9aeb43ef0aaccd1c9b1b35b5a4617'/>
<id>urn:sha1:bae8fc4436f9aeb43ef0aaccd1c9b1b35b5a4617</id>
<content type='text'>
function                                             old     new   delta
bb_ask_y_confirmation_FILE                             -      83     +83
inetd_main                                          2033    2043     +10
udhcp_send_kernel_packet                             295     301      +6
rmescapes                                            306     310      +4
send_tree                                            353     355      +2
i2cdetect_main                                       674     672      -2
confirm_or_abort                                      43      38      -5
get_terminal_width_height                            242     234      -8
bb_ask_y_confirmation                                 76      10     -66
xargs_main                                           823     755     -68
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/5 up/down: 105/-149)          Total: -44 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-04-02T08:24:14+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-04-02T08:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=34a68d327b42c3c700e84cd475496985782290b1'/>
<id>urn:sha1:34a68d327b42c3c700e84cd475496985782290b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>grep: fix echo "aa" | busybox grep -F -w "a" (should not match)</title>
<updated>2018-03-29T16:03:50+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-03-29T16:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=03fd7e06f854d385070a6fc9714f445727c359cd'/>
<id>urn:sha1:03fd7e06f854d385070a6fc9714f445727c359cd</id>
<content type='text'>
function                                             old     new   delta
grep_file                                           1461    1470      +9

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2017-11-03T14:16:08+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2017-11-03T14:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d6ce08aeb85b3698ddaa281016b70e16aeb9fb35'/>
<id>urn:sha1:d6ce08aeb85b3698ddaa281016b70e16aeb9fb35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>grep: skip grepping symlinks to directories</title>
<updated>2017-10-31T14:23:55+00:00</updated>
<author>
<name>James Clarke</name>
<email>jrtc27@jrtc27.com</email>
</author>
<published>2017-10-07T17:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6bcc2c0f6cb868232ec06231aa37a3fa65c59d22'/>
<id>urn:sha1:6bcc2c0f6cb868232ec06231aa37a3fa65c59d22</id>
<content type='text'>
When grep is passed -r, recursive_action will treat any symlinks to
directories not in the root as normal files, since it lstat's them and
is therefore told they are not directories. However, file_action_grep
will still try to fopen and read from them to see whether they match,
which varies in behaviour across platforms. Linux will give EISDIR and
thus grep will not find any matching lines, but FreeBSD will give the
raw contents of the directory itself, which may match the given pattern.
Also, if grep is passed -c, it will even print a count for these
symlinks, even on Linux.

Since this recursive_action behaviour is required for the correct
functioning of other applets, such as tar, grep should handle this
special case and skip any such symlinks.

function                                             old     new   delta
file_action_grep                                      80     161     +81

Signed-off-by: James Clarke &lt;jrtc27@jrtc27.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>mingw: special-case xargs -P on Windows</title>
<updated>2017-10-01T07:36:07+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-08-23T14:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ab450021a99ba66126cc6d668fb06ec3829a572b'/>
<id>urn:sha1:ab450021a99ba66126cc6d668fb06ec3829a572b</id>
<content type='text'>
The patches to let xargs support parallel operations on Linux/Unix was
contributed and accepted in upstream BusyBox.

To benefit from this on Windows, we have to work quite a bit harder, was
it is pretty hard to emulate the waitpid() semantics on Windows when pid
is -1, i.e. when waiting for any child to exit.

The problem is not so much accumulating the process handles of children
we spawned (we could do that in our own spawn() implementation), but the
fact that waitpid() returns exactly one pid even when multiple children
have exited, retaining the rest of them for subsequent waitpid() calls.
And on Linux/Unix, those pids are reserved even if the processes have
exited, at least for a while, but not on Windows.

And then there is the problem that BusyBox may have spawned *other*
processes, too, not just the ones we care about in xargs -P.

A much more elegant way is to add Windows-specific code to xargs.c that
specifically handles the child processes spawned by xargs. So let's do
this.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2017-09-27T09:11:19+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2017-09-27T09:08:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d9383e984da8de72e61e5094a3cf6404c5707ddc'/>
<id>urn:sha1:d9383e984da8de72e61e5094a3cf6404c5707ddc</id>
<content type='text'>
</content>
</entry>
</feed>
