view modules/fnmatch @ 14273:8f6d3e05c7e2

libposix: Revert the unreviewed part of yesterday's big merge. Back out yesterday's big merge from the libposix branch, except for the openat-die.c change that was reviewed and approved by Paul Eggert. Put the ChangeLog entry at the top, to reflect the order of changes in the master branch.
author Bruce Korb <bkorb@gnu.org>
date Sun, 06 Feb 2011 21:11:40 +0100
parents b4cc3c41ca79
children 550f5258de22
line wrap: on
line source

Description:
fnmatch() function: wildcard matching.

Files:
lib/fnmatch.in.h
lib/fnmatch.c
lib/fnmatch_loop.c
m4/mbstate_t.m4
m4/fnmatch.m4

Depends-on:
arg-nonnull
extensions
alloca
stdbool
wchar
wctype
memchr
memcmp
mbsrtowcs
mbsinit

configure.ac:
gl_FUNC_FNMATCH_POSIX

Makefile.am:
BUILT_SOURCES += $(FNMATCH_H)

# We need the following in order to create <fnmatch.h> when the system
# doesn't have one that supports the required API.
fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H)
	$(AM_V_GEN)rm -f $@-t $@ && \
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
	      < $(srcdir)/fnmatch.in.h; \
	} > $@-t && \
	mv -f $@-t $@
MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t

Include:
<fnmatch.h>

License:
LGPLv2+

Maintainer:
all, glibc