diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-01-18 09:34:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-01-18 09:34:50 +0000 |
commit | 9281f45d10af14f1f1dd884e8c77d293240c7412 (patch) | |
tree | e104b4c82d22e0932f3ec1dbb1a98611ebb24bc6 /posix/regex.h | |
parent | f1a785acbf05051be4963474f2307aad77fff16b (diff) | |
download | glibc-9281f45d10af14f1f1dd884e8c77d293240c7412.tar glibc-9281f45d10af14f1f1dd884e8c77d293240c7412.tar.gz glibc-9281f45d10af14f1f1dd884e8c77d293240c7412.tar.bz2 glibc-9281f45d10af14f1f1dd884e8c77d293240c7412.zip |
Update.
2000-01-18 Ulrich Drepper <drepper@cygnus.com>
* posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
* posix/regex.c (regex_compile): Return appropriate errors for
unterminated brace expressions. Detect invalid characters
in brace expressions.
* posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
* sysdeps/posix/sysconf.c: Include regex.h.
Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
Diffstat (limited to 'posix/regex.h')
-rw-r--r-- | posix/regex.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/posix/regex.h b/posix/regex.h index d88ab92bd4..f8a123054b 100644 --- a/posix/regex.h +++ b/posix/regex.h @@ -1,6 +1,6 @@ /* Definitions for data structures and routines for the regular expression library, version 0.12. - Copyright (C) 1985,89,90,91,92,93,95,96,97,98 Free Software Foundation, Inc. + Copyright (C) 1985,1989-1993,1995-1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. The master source lives in /gd/gnu/lib. @@ -221,10 +221,10 @@ extern reg_syntax_t re_syntax_options; (_RE_SYNTAX_POSIX_COMMON | RE_LIMITED_OPS) #define RE_SYNTAX_POSIX_EXTENDED \ - (_RE_SYNTAX_POSIX_COMMON | RE_CONTEXT_INDEP_ANCHORS \ - | RE_CONTEXT_INDEP_OPS | RE_NO_BK_BRACES \ - | RE_NO_BK_PARENS | RE_NO_BK_VBAR \ - | RE_UNMATCHED_RIGHT_PAREN_ORD) + (_RE_SYNTAX_POSIX_COMMON | RE_CONTEXT_INDEP_ANCHORS \ + | RE_CONTEXT_INDEP_OPS | RE_NO_BK_BRACES \ + | RE_NO_BK_PARENS | RE_NO_BK_VBAR \ + | RE_CONTEXT_INVALID_OPS | RE_UNMATCHED_RIGHT_PAREN_ORD) /* Differs from ..._POSIX_EXTENDED in that RE_CONTEXT_INVALID_OPS replaces RE_CONTEXT_INDEP_OPS and RE_NO_BK_REFS is added. */ |