* 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:
Christopher Faylor
2000-11-11 05:36:34 +00:00
parent 466ebd61d3
commit 6ccb6bcf3d
4 changed files with 75 additions and 10 deletions

View File

@@ -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. */