<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/win32, branch master</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-07-02T12:11:37+00:00</updated>
<entry>
<title>rpm: respect BB_SYSTEMROOT</title>
<updated>2026-07-02T12:11:37+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-07-02T12:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=882815f8740fe0c42ff53bc7df8f9bfb750d6944'/>
<id>urn:sha1:882815f8740fe0c42ff53bc7df8f9bfb750d6944</id>
<content type='text'>
Update the 'rpm' applet so it also respects the BB_SYSTEMROOT
environment variable.

Replace chdir_system_drive() with xchdir_system_drive(), which
exits on failure to change directory.

Saves 32-36 bytes.

(GitHub PR #603)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: tweak bitmap icon appearance</title>
<updated>2026-06-26T11:48:05+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-26T11:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=94cfedd0f57b4af77a90414d148e3fe6e6958e45'/>
<id>urn:sha1:94cfedd0f57b4af77a90414d148e3fe6e6958e45</id>
<content type='text'>
Make the corners of the symbolic bitmap icon look more rounded.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: shrink bitmap icons</title>
<updated>2026-06-23T15:06:39+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-23T14:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c65ab776399a095bc1c13ae6d7f0cf2cf17bb3dd'/>
<id>urn:sha1:c65ab776399a095bc1c13ae6d7f0cf2cf17bb3dd</id>
<content type='text'>
Reduce the colour depth of the bitmap icons from 24-bits colour/
8-bit alpha to 8-bit colour/1-bit alpha for aterm.ico and 1-bit
colour/1-bit alpha for sterm.ico.

This reduces the size of the standard builds by 21KB.  The builds
targeting Windows 10/11 already used smaller PNG icons.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>sync: handle certain edge cases</title>
<updated>2026-06-23T07:05:34+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-23T07:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=621339899c227e3b1247754f5f96037be2eebb00'/>
<id>urn:sha1:621339899c227e3b1247754f5f96037be2eebb00</id>
<content type='text'>
Recent changes to our mntent routines added support for Windows
volume names.  If such a name is available use it in our sync(2)
implementation to flush file buffers.  Failing that, use the drive
letter as before.

This handles edge cases where only one or other of the volume name
or drive letter is available.

Adds 32 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix the flags for stat (again) (#601)</title>
<updated>2026-06-22T10:36:43+00:00</updated>
<author>
<name>mbartlett21</name>
<email>29034492+mbartlett21@users.noreply.github.com</email>
</author>
<published>2026-06-22T10:36:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b37062304275debaadf71c9f3e5f4e9076f5eda6'/>
<id>urn:sha1:b37062304275debaadf71c9f3e5f4e9076f5eda6</id>
<content type='text'>
* Revert "find: reset stat(2) flags before terminating"

This reverts commit 228ee18fbe8cf408440e7bbe91db4ef201312983.

* test: fix flags for stat with NOFORK

test is a NOFORK applet, so the flags under mingw_stat may not have been
reset before calling it. We have it so it also restores the flags after,
since it could be called in the middle of another applet.

This also needed a way to retrieve the flags, so they are just done
through the return value.

* Add comments about not having to restore flags

Just for future reference

* lineedit: use new flag restoring

* win32: simplify mingw_access calling

Since we now have a way to get the previous flags, mingw_access can be
changed to ignore any stat flags

* stat: comments from PR

Adds 32 bytes.</content>
</entry>
<entry>
<title>win32: Unix-like support for volume mounts</title>
<updated>2026-06-15T11:42:54+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-15T11:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=862f87a8725d5cc9693021066869e94512d5d8e1'/>
<id>urn:sha1:862f87a8725d5cc9693021066869e94512d5d8e1</id>
<content type='text'>
Add code to distinguish between volume mount points and junctions.
Volume mount points are to be treated like directries while
junctions are like symlinks.

Update the 'mntent' functions to scan drive letters first, then
volume names and their associated mount points.  By default the
filesystem is returned as a drive letter, if possible, though
the volume name is also returned.

The function 'find_mount_point()' has been updated to use the
new 'mntent' routines.

Adds 772-803 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: extend handling of virtual disks</title>
<updated>2026-06-08T13:02:15+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-08T13:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1313ab2691128c2255ac1ccdeea7021dbb9b4fe4'/>
<id>urn:sha1:1313ab2691128c2255ac1ccdeea7021dbb9b4fe4</id>
<content type='text'>
Commit 62e4c5d29 (win32: special treatment for virtual hard disk)
added special treatment for mount points associated with virtual
hard disks.  One statement made there was incorrect:  a VHD without
a drive letter containing no files *does* have a '.' directory.
The error message for this case was misleading.

The changes made to handle VHDs were insufficiently general:

- lstat(2) only resolved symlinks for the explicit path '.'.
  It should also do so for paths of the form 'path/to/.'.

- opendir(3) only generated entries for '.' and '..' directories
  when FindFirstFileA() failed for the path '.'.  It should also
  do so for any path which resolves to a volume mount point.

Make the necessary changes.

Adds 64-80 bytes.

(GitHub issue #597)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: special treatment for virtual hard disk</title>
<updated>2026-06-07T14:23:48+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-07T14:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=62e4c5d291600a5f537d225ffdf22544bc74c8be'/>
<id>urn:sha1:62e4c5d291600a5f537d225ffdf22544bc74c8be</id>
<content type='text'>
Virtual hard disks (VHD) without a drive letter gave incorrect
results in 'ls' and 'stat'.  There were two problems:

- If the disk is empty it doesn't have a '.' directory.

- If it contains files the '.' directory is actually the mount
  point, which looks like a symbolic link and can't be opened
  as a directory.

Modify our 'stat(2)' and 'opendir(3)' implementations to handle
these quirks.

Adds 78-80 bytes.

(GitHub issue #597)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: avoid problems with forward slashes in path to cmd.exe</title>
<updated>2026-06-06T09:55:46+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-06T09:55:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=acc0d23bce6458cff1b0716c64e0821a8230815b'/>
<id>urn:sha1:acc0d23bce6458cff1b0716c64e0821a8230815b</id>
<content type='text'>
Running 'C:/Windows/System32/cmd.exe' from the shell was found to
have the unxpected result of creating the directory '.exe'.  This
is due to the weirdness of cmd.exe.

A similar problem with batch files was already being handled in
`spawnveq()` by converting forward slashes to backslashes in the
path to the executable file.  Doing this unconditionally will fix
the above case too.

(GitHub issue #598)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: special treatment for mounted volumes</title>
<updated>2026-06-04T10:46:40+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-04T10:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=77fd1b62ca4b5ce965fbd4ad3b86ceb0a7b393ce'/>
<id>urn:sha1:77fd1b62ca4b5ce965fbd4ad3b86ceb0a7b393ce</id>
<content type='text'>
It was reported that a mounted volume looked like a broken symlink
and that changing to the mount directory failed.

Preserve the format of the volume name when resolving the link.

Adds 84-96 bytes.

(GitHub issue #597)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
</feed>
