<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite, branch ucrt_hack</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=ucrt_hack</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=ucrt_hack'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-10-13T13:37:51+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-10-13T13:37:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-10-13T13:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0ecf1aea459571b48dc68ddc2b7b9265740fa960'/>
<id>urn:sha1:0ecf1aea459571b48dc68ddc2b7b9265740fa960</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: better coreutils compatibility for realpath</title>
<updated>2021-10-08T23:47:12+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-07-31T12:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=94eb1c4dc6556932e1a12a0ce7734512ac95985e'/>
<id>urn:sha1:94eb1c4dc6556932e1a12a0ce7734512ac95985e</id>
<content type='text'>
Add some tests which coreutils realpath pass but BusyBox realpath
fails (bar one).  Adjust xmalloc_realpath_coreutils() so the tests
pass:

- Expand symbolic links before testing whether the last path component
  exists.

- When the link target is a relative path canonicalize it by passing
  it through xmalloc_realpath_coreutils() as already happens for
  absolute paths.

- Ignore trailing slashes when finding the last path component and
  correctly handle the case where the only slash is at the start of
  the path.  This requires ignoring superfluous leading slashes.

- Undo all changes to the path so error messages from the caller show
  the original filename.

function                                             old     new   delta
xmalloc_realpath_coreutils                           214     313     +99

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>xxd: fix -p -r, closes 13881</title>
<updated>2021-10-08T21:03:54+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-10-08T21:03:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=86ba007b84ae1ebe35e88c57e023caac3d2d9903'/>
<id>urn:sha1:86ba007b84ae1ebe35e88c57e023caac3d2d9903</id>
<content type='text'>
function                                             old     new   delta
xxd_main                                             893     890      -3

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-09-17T10:38:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-17T10:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=46299d0c4f4c9a4bbad38bbbe26f196e1bccdc52'/>
<id>urn:sha1:46299d0c4f4c9a4bbad38bbbe26f196e1bccdc52</id>
<content type='text'>
Disable FEATURE_TIMEZONE for now.
</content>
</entry>
<entry>
<title>date,touch: allow timezone offsets in dates</title>
<updated>2021-09-16T22:11:30+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-16T09:26:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9fe1548bbfde548d54acaab113656a56ea0ccc72'/>
<id>urn:sha1:9fe1548bbfde548d54acaab113656a56ea0ccc72</id>
<content type='text'>
Allow ISO 8601 style dates to include a timezone offset.  Like
the '@' format these dates aren't relative to the user's current
timezone and shouldn't be subject to DST adjustment.

- The implementation uses the strptime() '%z' format specifier.
  This an extension which may not be available so the use of
  timezones is a configuration option.

- The 'touch' applet has been updated to respect whether DST
  adjustment is required, matching 'date'.

function                                             old     new   delta
parse_datestr                                        624     730    +106
static.fmt_str                                       106     136     +30
touch_main                                           388     392      +4
date_main                                            818     819      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 141/0)             Total: 141 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>Merge branch 'busybox' into merge</title>
<updated>2021-09-10T13:47:27+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-10T13:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3eb1d088e09db204f456ad7b76eced21e429f001'/>
<id>urn:sha1:3eb1d088e09db204f456ad7b76eced21e429f001</id>
<content type='text'>
</content>
</entry>
<entry>
<title>awk: fix printf %%</title>
<updated>2021-09-05T01:42:51+00:00</updated>
<author>
<name>Daniel Thau</name>
<email>danthau@bedrocklinux.org</email>
</author>
<published>2021-09-02T11:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7d06d6e18651cb183a3723fa21ef62935ea08647'/>
<id>urn:sha1:7d06d6e18651cb183a3723fa21ef62935ea08647</id>
<content type='text'>
A refactor of the awk printf code in
e2e3802987266c98df0efdf40ad5da4b07df0113
appears to have broken the printf interpretation of two percent signs,
which normally outputs only one percent sign.

The patch below brings busybox awk printf behavior back into alignment
with the pre-e2e380 behavior, the busybox printf util, and other common
(awk and non-awk) printf implementations.

function                                             old     new   delta
awk_printf                                           626     672     +46

Signed-off-by: Daniel Thau &lt;danthau at bedrocklinux.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-08-22T08:17:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-22T08:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=46c5767e7e39d1e173e382bda86ab88b4cad354d'/>
<id>urn:sha1:46c5767e7e39d1e173e382bda86ab88b4cad354d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rev: correct output for long input lines</title>
<updated>2021-08-21T22:08:18+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-21T08:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4357569fdc7bc482dea0ef0bff57a70e7f06523c'/>
<id>urn:sha1:4357569fdc7bc482dea0ef0bff57a70e7f06523c</id>
<content type='text'>
The input buffer is initialised to a reasonable size and extended
if necessary.  When this happened the offset into the buffer wasn't
reset to zero so subsequent lines were appended to the long line.

Fix this and add some tests.

function                                             old     new   delta
rev_main                                             377     368      -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-9)               Total: -9 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>Merge branch 'busybox' into merge</title>
<updated>2021-08-17T07:26:36+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-17T07:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f13defb1c8f892ecf3e8dd5dbe486cc2b53e6f03'/>
<id>urn:sha1:f13defb1c8f892ecf3e8dd5dbe486cc2b53e6f03</id>
<content type='text'>
</content>
</entry>
</feed>
