* 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.
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user