<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/debianutils, branch symlink</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=symlink</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=symlink'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-02-25T08:39:02+00:00</updated>
<entry>
<title>which: changes to standalone shell support</title>
<updated>2021-02-25T08:39:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-25T08:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=38eafd3ff110e2802fe85167013be9b0e49665f9'/>
<id>urn:sha1:38eafd3ff110e2802fe85167013be9b0e49665f9</id>
<content type='text'>
- If 'which' is run from an executable called 'which.exe' it
  suggests we aren't in a standalone-shell-mode shell.  Don't
  run any standalone-shell-specific code.

- Use case-insensitive comparisons when testing the names of
  executables.

- When the argument is 'busybox' any executable name starting
  with 'busybox' should match.

- Since 'busybox' is now treated as an applet in standalone shell
  mode there's no need to test for this explicitly.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-01-14T13:28:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-01-14T13:28:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=89963b524d211e1aec12b72b3725be05ee95c8cf'/>
<id>urn:sha1:89963b524d211e1aec12b72b3725be05ee95c8cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>help text tweaks</title>
<updated>2020-12-18T03:12:51+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-18T03:12:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a2f18d950a1a94e22fec78ee2d57f5cd3542551a'/>
<id>urn:sha1:a2f18d950a1a94e22fec78ee2d57f5cd3542551a</id>
<content type='text'>
function                                             old     new   delta
packed_usage                                       33570   33502     -68

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2020-11-12T08:27:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-11-12T08:27:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ead8b92e3d66ab45235e137f85fb3a529dcc64ef'/>
<id>urn:sha1:ead8b92e3d66ab45235e137f85fb3a529dcc64ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: shrink recursive_action() by reducing memory pressure</title>
<updated>2020-10-01T19:52:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-10-01T19:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=689d0650ab63425adaea26afe347015a204958ee'/>
<id>urn:sha1:689d0650ab63425adaea26afe347015a204958ee</id>
<content type='text'>
function                                             old     new   delta
recursive_action1                                      -     316    +316
file_action_grep                                     161     164      +3
add_to_prg_cache_if_socket                           202     205      +3
depmod_main                                          509     511      +2
writeFileToTarball                                   488     489      +1
parse_module                                         281     282      +1
fileAction                                           207     208      +1
act                                                  189     190      +1
add_to_dirlist                                        65      64      -1
writeTarFile                                         196     194      -2
uuidcache_init                                        47      45      -2
uuidcache_check_device                               109     107      -2
true_action                                            8       6      -2
run_parts_main                                       310     308      -2
netstat_main                                         534     532      -2
lsusb_main                                            29      27      -2
lspci_main                                            45      43      -2
initial_scan                                         138     136      -2
grep_main                                            845     843      -2
find_main                                            482     480      -2
config_file_action                                   437     435      -2
chmod_main                                           142     140      -2
dirAction                                             14      10      -4
diff_main                                           1544    1540      -4
chown_main                                           154     148      -6
skip_dir                                             136     129      -7
dir_act                                              191     184      -7
recursive_action                                     453      69    -384
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 7/20 up/down: 328/-439)        Total: -111 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>tydy up a few uses of recursive_action(), no logic changes</title>
<updated>2020-10-01T18:27:28+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-10-01T18:27:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3c3928fc658bddacd4e540589868bc28a8e4ca0a'/>
<id>urn:sha1:3c3928fc658bddacd4e540589868bc28a8e4ca0a</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>win32: code shrink Unix-style path handling</title>
<updated>2020-08-23T09:16:12+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-23T09:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=64ecd10486934c12336dac84c67a1939dce0e096'/>
<id>urn:sha1:64ecd10486934c12336dac84c67a1939dce0e096</id>
<content type='text'>
Replace auto_add_system_drive() with alloc_system_drive() which
leaves space for a possible filename extension.  This makes it
possible to drop alloc_win32_extension() and auto_win32_extension().

Saves 144 bytes.
</content>
</entry>
<entry>
<title>win32: use built-in applets for non-existent binaries with Unix-style paths</title>
<updated>2020-08-13T13:58:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-13T13:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=41ef232fc522d91f29931ea4ee547432ca8899ee'/>
<id>urn:sha1:41ef232fc522d91f29931ea4ee547432ca8899ee</id>
<content type='text'>
Shell scripts moved from Unix may contain hard-coded paths to
binaries such as /bin/sh.  A recent commit made it possible to
execute such binaries reliably, but that does require them to be
installed.  As an alternative solution:  if a binary with a
standard Unix path prefix can't be found but is available as a
built-in applet, run the applet.

Add the function unix_path() to detect paths starting with /bin,
/usr/bin, /sbin or /usr/sbin.

Use this function in:

- the 'which' applet
- shellexec(), describe_command() and find_command() in ash
- mingw_spawn_1()

See GitHub issue #195.
</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>win32: code shrink</title>
<updated>2020-08-13T13:58:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-13T10:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=258ad6a1d52f1811f9de1d6b976f3797f5b31a2b'/>
<id>urn:sha1:258ad6a1d52f1811f9de1d6b976f3797f5b31a2b</id>
<content type='text'>
Add a new function, has_path(), to detect that an executable name
doesn't require a path look-up.

Also, since is_absolute_path() is now only used in shell/ash.c move
its definition there from include/mingw.h.

Saves 128 bytes.
</content>
</entry>
</feed>
