aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-06-16 08:07:46 +0100
committerRon Yorston <rmy@pobox.com>2024-06-16 08:07:46 +0100
commiteb376b5d196358dafe454a4778746e46bad48ee7 (patch)
tree48a596e6fda67e59e1266f44c85360dc231723e3 /arch
parentedf069ffc299d88c2291c20736bd1463ff030e12 (diff)
downloadbusybox-w32-eb376b5d196358dafe454a4778746e46bad48ee7.tar.gz
busybox-w32-eb376b5d196358dafe454a4778746e46bad48ee7.tar.bz2
busybox-w32-eb376b5d196358dafe454a4778746e46bad48ee7.zip
win32: don't set error mode
Commit a8c63f25b3 (win32: improve filesystem detection and display) added a call to SetErrorMode(SEM_FAILCRITICALERRORS). This was on the strength of the documentation for GetVolumeInformation() which suggests that otherwise a message box will appear to prompt the user to put media in an empty floppy or CD drive. This would disrupt the expected behaviour of applets like 'df'. In practice it seems the call to SetErrorMode() is unnecessary. It also results in other errors going unreported. Remove the call to SetErrorMode(). Saves 8-20 bytes. (GitHub issue #423)
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions