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:
@ -1,6 +1,6 @@
|
||||
/* collate.h: Internal BSD libc header, used in glob and regcomp, for instance.
|
||||
|
||||
Copyright 2012 Red Hat, Inc.
|
||||
Copyright 2012, 2015 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@ -13,10 +13,9 @@ details. */
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* We never have a collate load error. */
|
||||
const int __collate_load_error = 0;
|
||||
extern const int __collate_load_error;
|
||||
|
||||
int __collate_range_cmp (int c1, int c2);
|
||||
extern int __collate_range_cmp (int c1, int c2);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
Reference in New Issue
Block a user