diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-15 09:36:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-15 09:36:19 +0000 |
commit | 955994e1313ab81c1db2a456b5fdf7cacb016366 (patch) | |
tree | e0366bf2c5c94172d932cfa3657d74418f005173 /posix/fnmatch.h | |
parent | 0493a6d7e82806fc183a3c0b383fb95d3188b690 (diff) | |
download | glibc-955994e1313ab81c1db2a456b5fdf7cacb016366.tar glibc-955994e1313ab81c1db2a456b5fdf7cacb016366.tar.gz glibc-955994e1313ab81c1db2a456b5fdf7cacb016366.tar.bz2 glibc-955994e1313ab81c1db2a456b5fdf7cacb016366.zip |
Update.
2001-03-15 Ulrich Drepper <drepper@redhat.com>
* posix/fnmatch.h (FNM_EXTMATCH): Define.
* posix/fnmatch.c (NO_LEADING_PERIOD): Define.
(posixly_correct): Move global variable here.
(INT, EXT, END): Name new functions defined in fnmatch_loop.c.
(fnmatch): Pretty printing.
* posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
* posix/tst-fnmatch.c: Recognize EXTMATCH flag.
* posix/tst-fnmatch.input: Add tests for extended matching.
* posix/testfnm.c: Add test for patterns with multiple ** before /.
* posix/fnmatch_loop.c: Fix problem with the test above.
Diffstat (limited to 'posix/fnmatch.h')
-rw-r--r-- | posix/fnmatch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/fnmatch.h b/posix/fnmatch.h index cc3ec37940..56cb561e61 100644 --- a/posix/fnmatch.h +++ b/posix/fnmatch.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 96, 97, 98, 99 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,96,97,98,99,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -59,6 +59,7 @@ extern "C" { # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */ # define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ # define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ +# define FNM_EXTMATCH (1 << 5) /* Use ksh-like extended matching. */ #endif /* Value returned by `fnmatch' if STRING does not match PATTERN. */ |