diff options
author | Ron Yorston <rmy@pobox.com> | 2014-04-21 10:26:50 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-04-21 10:26:50 +0100 |
commit | f24b57e5523aa2ebb892357cf525cb4220dd6ba8 (patch) | |
tree | 7f23e8b11e4799d24b2e9a71c3c04b26324d085e /win32 | |
parent | 60d938a3579786138cdec207b73fe24af47908ad (diff) | |
download | busybox-w32-f24b57e5523aa2ebb892357cf525cb4220dd6ba8.tar.gz busybox-w32-f24b57e5523aa2ebb892357cf525cb4220dd6ba8.tar.bz2 busybox-w32-f24b57e5523aa2ebb892357cf525cb4220dd6ba8.zip |
Move handling of Windows globbing out of upstream code
Diffstat (limited to 'win32')
-rw-r--r-- | win32/mingw.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/mingw.c b/win32/mingw.c index 2645aadca..501c886e0 100644 --- a/win32/mingw.c +++ b/win32/mingw.c | |||
@@ -1,6 +1,11 @@ | |||
1 | #include "libbb.h" | 1 | #include "libbb.h" |
2 | #include <userenv.h> | 2 | #include <userenv.h> |
3 | 3 | ||
4 | #if ENABLE_NOGLOB | ||
5 | /* disable MSVCRT command line globbing */ | ||
6 | int _CRT_glob = 0; | ||
7 | #endif | ||
8 | |||
4 | unsigned int _CRT_fmode = _O_BINARY; | 9 | unsigned int _CRT_fmode = _O_BINARY; |
5 | 10 | ||
6 | static int err_win_to_posix(DWORD winerr) | 11 | static int err_win_to_posix(DWORD winerr) |