aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
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)