busybox-w32 version FRP-5398-g89ae34445 was released on 2024-06-25. It is no longer current. For other release notes see:
title shell builtin has been introduced. With
no argument it gets the current title; with arguments, the
first only is set as the terminal title. This is completely
non-portable.
(GitHub issue #401)
HISTFILESIZE shell variable sets the
number of lines that will be stored in the history file. The maximum
value has been increased to 1023 lines (from 255) and the default to 384.
(GitHub issue #411)
HISTFILE shell variable names the history
file. Setting it to an empty value prevents history from being saved to
a file, though it is kept in memory. In upstream BusyBox the setting
HISTFILE=/dev/null achieves the same end. This didn't
previously work in busybox-w32, but now it does. As does
HISTFILE=nul. (GitHub issue #425)
HISTFILESIZE and
HISTFILE don't affect the current shell, just its children.
Both will take effect if set in ~/.profile, though.
noconsole (which tries to
conceal the shell's console window) was
recently changed to minimise rather than hide it. For those who
prefer the previous behaviour there's the new option noiconify.
When it's set the window is once more hidden. (GitHub issue #325)
-X option
forward slashes in environment variables were changed to backslashes. This
wasn't the intended behaviour and it has been fixed. (GitHub issue #415)
~ $ alias x=cat ~ $ x</dev/null sh: can't open dev/null: no such file ~ $This has been fixed in busybox-w32 and a patch submitted upstream. (GitHub issue #413)
mintty sets the
HOME environment variable. busybox-w32 also sets
HOME, but not if it already has a value. When the shell was
started in mintty the value from the latter would prevail.
The shell now tries to detect this situation and unsets mintty's
HOME. (GitHub issue #420)
PATH environment variable. This is of little
consequence to Windows because of the way it searches for executables.
busybox-w32 follows the POSIX interpretation of PATH, where
a trailing separator refers to the current directory. Since UNIX tends
not to look for executables in the current directory, busybox-w32
removes the trailing separator. The user can still add one in the shell, if
they like, and it will be respected. (GitHub issue #422)
export BB_CRITICAL_ERROR_DIALOGS=1permits error dialogs to be displayed. It takes immediate effect in the current shell. (GitHub issue #423)
make applet.
Several of these relate to the recent release of the POSIX.1-2024
standard.
The following are new non-POSIX extensions (which don't apply in POSIX mode):
make and bmake don't
follow the POSIX requirement that when errors are being heeded commands
should be executed as if by a shell with the -e option.
We now do the same. (GitHub issue #409)
$< and $*
to be set for inference rules, not target rules. Relax this requirement.
(GitHub issue #407)
ifeq and ifneq conditional
directives, which perform string comparisons.
posix_2017 and posix_2024. The
default is the 2024 standard.
The following are improvements to POSIX compliance:
CURDIR macro is supported.
-q and -t
options has been improved, particularly in relation to commands with the
'+' prefix.
wget failing have been reported
before (GitHub issue #263). Another such case has been fixed. A further
case has been isolated to a site having a host certificate with an elliptic
curve (P384) which isn't supported by upstream. This remains unresolved.
read builtin was found to have become
ten times slower at reading from a pipeline. This performance regression
has been fixed.
su applet crashed when run in filesystems
created by certain third-party filesystem drivers: the filesystems lacked
support for resolving symbolic links. The code has been changed to tolerate
such inadequacies. (GitHub issue #389)
uname applet returned incorrect results
when invoked with a Unix-style path, /bin/uname for example.
This has been fixed. (GitHub issue #392)
md5sum and sha*sum message
digest applets now accept uppercase hex characters when the -c
option is used. (GitHub issue #394)
time applet was run in a pipeline
(e.g. time seq 1 10 | tail -2) the output streams could be
mixed. This has been somewhat mitigated by buffering the output from
time. (GitHub issue #396)
timeout applet has improved support for
fractional time value. And, indeed, for integer ones. Just don't
expect time differences under ~40ms to be resolved reliably.
(GitHub issue #400)
/dev/zero and
/dev/urandom can only be used as arguments to the dd
applet. They otherwise shouldn't seem to exist. This is now enforced so,
for example, stat and test deny their existence.
(GitHub issue #282)
.exe and .com are tested before .sh.
The previous ordering caused problems when a wrapper script tried to run
a binary with the same name. (GitHub issue #405)
ls or the like. The system
now tries to avoid doing this. (GitHub issue #414)
ps was seen to report a non-existent parent PID
when a process had exited before its children. Attempting to kill
such a process seemed to succeed. Bring the handling of such processes more
into line with UNIX. If the parent PID refers to a non-existent process
report a PID of 1 and treat an attempt to kill such a process as an error.
(GitHub issue #416)
.exe extension. (GitHub issue #424)