Update Cygwin's fnmatch to latest from FreeBSD.
* collate.h (__collate_load_error): Convert to extern declaration. * globals.cc (__collate_load_error): Define and initialize here. * libc/fnmatch.c: Update to latest from FreeBSD. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -103,6 +103,9 @@ char NO_COPY almost_null[1];
|
||||
|
||||
extern "C" {
|
||||
|
||||
/* We never have a collate load error. */
|
||||
const int __collate_load_error = 0;
|
||||
|
||||
/* Heavily-used const UNICODE_STRINGs are defined here once. The idea is a
|
||||
speed improvement by not having to initialize a UNICODE_STRING every time
|
||||
we make a string comparison. The _RDATA trick allows defining the strings
|
||||
|
Reference in New Issue
Block a user