mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 11:16:02 +00:00
fnmatch: Fix syntax error in C++ mode on CentOS 7.
* lib/fnmatch.in.h (fnmatch): Provide declaration of overridden fnmatch function, needed for _GL_CXXALIASWARN.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2026-06-26 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
fnmatch: Fix syntax error in C++ mode on CentOS 7.
|
||||
* lib/fnmatch.in.h (fnmatch): Provide declaration of overridden fnmatch
|
||||
function, needed for _GL_CXXALIASWARN.
|
||||
|
||||
2026-06-25 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
fstatat: port null file support to Alpine 3.24
|
||||
|
||||
@@ -81,6 +81,14 @@
|
||||
/* Match NAME against the file name pattern PATTERN,
|
||||
returning zero if it matches, FNM_NOMATCH if not. */
|
||||
# if @REPLACE_FNMATCH@
|
||||
/* Because we haven't included the system's <fnmatch.h> (see above),
|
||||
we need to state the system's 'fnmatch' declaration. This is necessary
|
||||
for the _GL_CXXALIASWARN invocation below. */
|
||||
# if @HAVE_FNMATCH@
|
||||
_GL_FUNCDECL_SYS (fnmatch, int,
|
||||
(const char *pattern, const char *name, int flags),
|
||||
_GL_ARG_NONNULL ((1, 2)));
|
||||
# endif
|
||||
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||
# define fnmatch rpl_fnmatch
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user