<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/include, 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-14T12:28:05+00:00</updated>
<entry>
<title>ash: silence compiler warnings</title>
<updated>2021-10-14T12:28:05+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-10-14T12:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a0366fde4cadbdce03540c683611587dbcfb3c48'/>
<id>urn:sha1:a0366fde4cadbdce03540c683611587dbcfb3c48</id>
<content type='text'>
On 64-bit systems mingw-w64 defines pid_t as a 64-bit integer so
some printf calls caused compiler warnings.
</content>
</entry>
<entry>
<title>realpath: improved support for Windows paths</title>
<updated>2021-10-13T15:44:45+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-10-13T15:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4daf57b4fdc80422d6448c0a7914699fdedb95b8'/>
<id>urn:sha1:4daf57b4fdc80422d6448c0a7914699fdedb95b8</id>
<content type='text'>
Upstream commit 94eb1c4dc (libbb: better coreutils compatibility
for realpath) made some changes to xmalloc_realpath_coreutils().
This now needs to be updated to handle Windows paths.

- Expose the macro is_unc_path() and part of the recent change to
  bb_get_last_path_component_nostrip() as a separate funtion,
  get_last_slash();

- Convert a couple of errors relating to network filesystems to
  ENOENT;

- Adjust xmalloc_realpath_coreutils() to handle Windows directory
  separators, relative paths and UNC paths.
</content>
</entry>
<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>win32: rename is_absolute_path()</title>
<updated>2021-10-12T12:43:15+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-10-12T12:43:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b4b2b2c4fbba12561c5e988177bef699be306b26'/>
<id>urn:sha1:b4b2b2c4fbba12561c5e988177bef699be306b26</id>
<content type='text'>
As the comment pointed out is_absolute_path() was misnamed.  Rename
it to is_relative_path() and change the sense of all tests.
</content>
</entry>
<entry>
<title>shell: use more compact SHELL_ASH / HUSH config defines. no code changes</title>
<updated>2021-10-11T23:24:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-10-11T23:24:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7c3e96d4b3d419d76f97e17d42a4401ee685b7ec'/>
<id>urn:sha1:7c3e96d4b3d419d76f97e17d42a4401ee685b7ec</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: fix script's comm field if ENABLE_FEATURE_PREFER_APPLETS=y</title>
<updated>2021-10-11T16:44:00+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-10-11T16:39:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5acf5e1f870fb5382556d4b434158f7d497893ca'/>
<id>urn:sha1:5acf5e1f870fb5382556d4b434158f7d497893ca</id>
<content type='text'>
function                                             old     new   delta
re_execed_comm                                         -      46     +46
main                                                  72      86     +14
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/0 up/down: 60/0)               Total: 60 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Make const ptr assign as function call in clang</title>
<updated>2021-10-09T20:30:45+00:00</updated>
<author>
<name>YU Jincheng</name>
<email>shana@zju.edu.cn</email>
</author>
<published>2021-10-09T18:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5156b245536ce0f07165793f07c63fd9fa5dd3b7'/>
<id>urn:sha1:5156b245536ce0f07165793f07c63fd9fa5dd3b7</id>
<content type='text'>
- This can act as memory barrier in clang to avoid
  read before assign of a const ptr

Signed-off-by: LoveSy &lt;shana@zju.edu.cn&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</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>libbb.h: fix logic selecting incorrect BB_STRTOOFF for !LFS configs</title>
<updated>2021-10-08T13:54:40+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-10-08T13:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=049775b2ef39a20dc08a6bf89e2831e8422f7363'/>
<id>urn:sha1:049775b2ef39a20dc08a6bf89e2831e8422f7363</id>
<content type='text'>
BB_STRTOOFF() was equal to bb_strtou(). On x86_64, it's incorrect.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>*: generalize "const trick"</title>
<updated>2021-10-07T13:22:35+00:00</updated>
<author>
<name>YU Jincheng</name>
<email>shana@zju.edu.cn</email>
</author>
<published>2021-09-29T09:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1f925038ab9c6bd8f6b3cd40ed7aab0ef10d898e'/>
<id>urn:sha1:1f925038ab9c6bd8f6b3cd40ed7aab0ef10d898e</id>
<content type='text'>
While at it, change all "__asm__" to "asm"

Co-authored-by: canyie &lt;31466456+canyie@users.noreply.github.com&gt;
Signed-off-by: YU Jincheng &lt;shana@zju.edu.cn&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
