<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb, branch fix_backslash</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=fix_backslash</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=fix_backslash'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2020-08-15T08:37:06+00:00</updated>
<entry>
<title>busybox: create custom installation directory</title>
<updated>2020-08-15T08:37:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-15T08:37:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b95ed10bd31d57b1ca1fac0de273bbe98903d0b8'/>
<id>urn:sha1:b95ed10bd31d57b1ca1fac0de273bbe98903d0b8</id>
<content type='text'>
If a custom installation directory is specified try to create it.
Don't worry if we can't, we'll find out when the links fail.
</content>
</entry>
<entry>
<title>busybox: add option to install to Unix-style paths</title>
<updated>2020-08-14T12:35:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-14T12:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c775e9de197afe1cc0907f559f7cab36d52c93fa'/>
<id>urn:sha1:c775e9de197afe1cc0907f559f7cab36d52c93fa</id>
<content type='text'>
The command 'busybox --install -u' installs links to Unix-style
paths in the system drive.
</content>
</entry>
<entry>
<title>win32: handle Unix-style absolute paths for executables</title>
<updated>2020-08-13T13:58:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-13T12:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6059723900f2af1fbd394c457d1feae342e344f6'/>
<id>urn:sha1:6059723900f2af1fbd394c457d1feae342e344f6</id>
<content type='text'>
As noted in commit 548ec7045 (win32: interpret absolute paths as
relative to %SYSTEMDRIVE%) a path starting with a '/' in the Unix
world is treated as relative to the current drive by Windows.
To avoid ambiguity that commit considered certain such paths to
be relative to %SYSTEMDRIVE%.  Extend this to paths representing
executables.

Add the functions need_system_drive() and auto_add_system_drive()
to detect the need for a system drive prefix and to add it if
necessary.  Use these functions in:

- the 'which' applet
- the find_executable() function
- tab-completion code
- PATH look-up, shellexec(), describe_command() and find_command() in ash
- parse_interpreter() and mingw_spawn_1()

With these changes executable paths starting with a slash are
handled consistently, whatever the current drive.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2020-07-09T12:10:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T12:10:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9c0b2f7020d7c30b21a930ef54be632e092e533b'/>
<id>urn:sha1:9c0b2f7020d7c30b21a930ef54be632e092e533b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: code shrink in last_char_is()</title>
<updated>2020-06-30T06:33:02+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-30T06:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d21a63f9fca8eb16f79de9b72d4a3484dfaec1fc'/>
<id>urn:sha1:d21a63f9fca8eb16f79de9b72d4a3484dfaec1fc</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>compare_string_array: code shrink</title>
<updated>2020-06-29T14:09:46+00:00</updated>
<author>
<name>Martin Lewis</name>
<email>martin.lewis.x84@gmail.com</email>
</author>
<published>2020-06-11T20:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c9fc15359ef8fe5aa98ab0308c1563d9bcf99bb8'/>
<id>urn:sha1:c9fc15359ef8fe5aa98ab0308c1563d9bcf99bb8</id>
<content type='text'>
Code shrink and prevention of possible out of bounds access.

function                                             old     new   delta
nth_string                                            36      26     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-10)             Total: -10 bytes
   text	   data	    bss	    dec	    hex	filename
 981342	  16915	   1872	1000129	  f42c1	busybox_old
 981332	  16915	   1872	1000119	  f42b7	busybox_unstripped

Signed-off-by: Martin Lewis &lt;martin.lewis.x84@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>procps: code shrink</title>
<updated>2020-06-29T14:07:20+00:00</updated>
<author>
<name>Martin Lewis</name>
<email>martin.lewis.x84@gmail.com</email>
</author>
<published>2020-06-11T20:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ac79db6a3b8c9d1815dc4f506d55bc6a2a4e34dd'/>
<id>urn:sha1:ac79db6a3b8c9d1815dc4f506d55bc6a2a4e34dd</id>
<content type='text'>
function                                             old     new   delta
skip_whitespace_if_prefixed_with                       -      17     +17
procps_read_smaps                                    911     854     -57
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 17/-57)            Total: -40 bytes

Signed-off-by: Martin Lewis &lt;martin.lewis.x84@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: avoid duplicated slashes in output of type/command builtins</title>
<updated>2020-06-29T10:46:43+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-29T10:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9114e110a59a77909132af6d97bccdf5056adfa4'/>
<id>urn:sha1:9114e110a59a77909132af6d97bccdf5056adfa4</id>
<content type='text'>
Microsoft developers have a penchant for adding trailing slashes to
entries in PATH:

   C:/Windows/System32/WindowsPowerShell/v1.0/
   C:/Windows/System32/OpenSSH/

The 'type' and 'command -v' shell builtins return paths with duplicated
slashes for executables in those directories.  See GitHub issue #191.

Bonus fixes:

- handle backslashes as well as slashes in concat_path_file()
- convert backslashes to slashes in the output of 'type', 'command -v'
</content>
</entry>
<entry>
<title>nologin: make it possible to build it as single applet</title>
<updated>2020-06-24T13:05:22+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-24T11:39:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=67e1529b921416d6c3f33fb43691bc9919e3eacc'/>
<id>urn:sha1:67e1529b921416d6c3f33fb43691bc9919e3eacc</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>suppress a few compile warnings</title>
<updated>2020-06-24T07:31:30+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-24T07:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d5314e71294d228cff5d86e00d15661461f68fc9'/>
<id>urn:sha1:d5314e71294d228cff5d86e00d15661461f68fc9</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
