aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-03-20 11:31:07 +0000
committerRon Yorston <rmy@pobox.com>2019-03-20 11:38:32 +0000
commita8c63f25b3a8d4b8c9e12b8f6db65c61596da602 (patch)
tree7c39ee80787a2eba5702246a1b6f24276290f8c8 /libbb
parent18bffeae48f300c813a4999067373498b534c166 (diff)
downloadbusybox-w32-a8c63f25b3a8d4b8c9e12b8f6db65c61596da602.tar.gz
busybox-w32-a8c63f25b3a8d4b8c9e12b8f6db65c61596da602.tar.bz2
busybox-w32-a8c63f25b3a8d4b8c9e12b8f6db65c61596da602.zip
win32: improve filesystem detection and display
Miscellaneous improvements: - Enable '-a' option to display all filesystems in df(1). - Detect the UDF CDROM filesystem and display it in 'stat -f'. - Let getmntent(3) handle CDROM and floppy devices, ignoring those that have no media. - Set number of inodes and filesystem flags to 0 in statfs(2).
Diffstat (limited to 'libbb')
-rw-r--r--libbb/appletlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 35aabe758..58e391fd9 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -1233,6 +1233,9 @@ int main(int argc UNUSED_PARAM, char **argv)
1233# if ENABLE_FEATURE_EURO 1233# if ENABLE_FEATURE_EURO
1234 init_codepage(); 1234 init_codepage();
1235# endif 1235# endif
1236 /* Ignore critical errors, such as calling GetVolumeInformation() on
1237 * a floppy or CDROM drive with no media. */
1238 SetErrorMode(SEM_FAILCRITICALERRORS);
1236#endif 1239#endif
1237 1240
1238#if defined(__MINGW64_VERSION_MAJOR) 1241#if defined(__MINGW64_VERSION_MAJOR)