diff options
author | Christopher Faylor <me@cgf.cx> | 2000-11-11 08:36:34 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-11-11 08:36:34 +0300 |
commit | 6ccb6bcf3d24550eead6c969f2ac9a5f9f5105d3 (patch) | |
tree | 52dca8cef43f7e7420b218991742ed74d7170d55 /winsup/cygwin/dcrt0.cc | |
parent | 466ebd61d393cffdcb7eda14d5e45eab2cd10ed4 (diff) |
* dcrt0.cc: New global variable `ignore_case_with_glob'.
(dll_crt0_1): Disable case-insensitive globbing before calling `main'.
* environ.cc (glob_init): New static function to set or clear
`ignore_case_with_glob'.
(known): Changed "glob" entry to call `glob_init'.
* glob.c (match): Use case-insensitive globbing if needed.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 4362a779e..8682685b5 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -106,6 +106,7 @@ extern "C" /* resourcelocks */ &_reslock, /* threadinterface */ &_mtinterf, /* impure_ptr */ &reent_data, }; + BOOL ignore_case_with_glob = FALSE; }; char *old_title = NULL; @@ -835,6 +836,9 @@ dll_crt0_1 () return; } + /* Disable case-insensitive globbing */ + ignore_case_with_glob = FALSE; + /* Flush signals and ensure that signal thread is up and running. Can't do this for noncygwin case since the signal thread is blocked due to LoadLibrary serialization. */ |