File: fnmatch

package info (click to toggle)
gnulib 20250303-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188,836 kB
  • sloc: ansic: 378,598; sh: 30,630; python: 8,358; cpp: 2,811; yacc: 1,846; perl: 920; makefile: 577; lisp: 328; sed: 11; java: 5
file content (68 lines) | stat: -rw-r--r-- 3,484 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Description:
fnmatch() function: wildcard matching.

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

Depends-on:
fnmatch-h
alloca-opt          [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
attribute           [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
builtin-expect      [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
flexmember          [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
idx                 [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
isblank             [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
libc-config         [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
bool                [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
stdckdint-h         [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
strnlen             [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
uchar-h             [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
memchr              [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
memcmp              [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
mempcpy             [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
mbsinit             [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
btowc               [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
iswctype            [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
mbsrtowcs           [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
wchar-h             [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
wctype-h            [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
wctype              [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
wmemchr             [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
wmempcpy            [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 0]
btoc32              [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
c32tolower          [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
c32_get_type_test   [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
c32_apply_type_test [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
mbsrtoc32s          [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
unistr/u32-chr      [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
unistr/u32-pcpy     [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
unistr/u32-strcat   [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]
unistr/u32-strlen   [{ test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; } && test $SMALL_WCHAR_T = 1]

configure.ac:
gl_FUNC_FNMATCH_POSIX
dnl Because of gl_REPLACE_FNMATCH_H:
gl_CONDITIONAL_HEADER([fnmatch.h])
if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
  AC_LIBOBJ([fnmatch])
  gl_PREREQ_FNMATCH
fi
gl_FNMATCH_MODULE_INDICATOR([fnmatch])

Makefile.am:

Include:
<fnmatch.h>

Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)

License:
LGPLv2+

Maintainer:
all, glibc