aboutsummaryrefslogtreecommitdiff
path: root/posix/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-18 09:34:50 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-18 09:34:50 +0000
commit9281f45d10af14f1f1dd884e8c77d293240c7412 (patch)
treee104b4c82d22e0932f3ec1dbb1a98611ebb24bc6 /posix/bits
parentf1a785acbf05051be4963474f2307aad77fff16b (diff)
downloadglibc-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/bits')
-rw-r--r--posix/bits/posix2_lim.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/posix/bits/posix2_lim.h b/posix/bits/posix2_lim.h
index a9d067e4de..927c017a2a 100644
--- a/posix/bits/posix2_lim.h
+++ b/posix/bits/posix2_lim.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1999, 2000 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
@@ -85,12 +85,11 @@
#ifndef LINE_MAX
#define LINE_MAX _POSIX2_LINE_MAX
#endif
-#ifndef RE_DUP_MAX
-#define RE_DUP_MAX _POSIX2_RE_DUP_MAX
-#endif
#ifndef CHARCLASS_NAME_MAX
#define CHARCLASS_NAME_MAX _POSIX2_CHARCLASS_NAME_MAX
#endif
+/* This value is defined like this in regex.h. */
+#define RE_DUP_MAX (0x7fff)
#endif /* bits/posix2_lim.h */