aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-01 10:00:20 +0000
committerRoland McGrath <roland@gnu.org>1995-11-01 10:00:20 +0000
commit80b55d320bae6743130701af3b5c395d21ce748d (patch)
tree6b0178179f972b1d02e7ada40c1ee0b1312b77b8 /posix/regex.c
parent3bbceb1287e3df7eb75e7a9852278d4eb9d33a00 (diff)
downloadglibc-80b55d320bae6743130701af3b5c395d21ce748d.zip
glibc-80b55d320bae6743130701af3b5c395d21ce748d.tar.gz
glibc-80b55d320bae6743130701af3b5c395d21ce748d.tar.bz2
* sysdeps/mach/hurd/getpriority.c (getpriority): Passcvs/libc-951102cvs/libc-951101
PI_FETCH_TASKINFO to proc_getprocinfo and through _hurd_priority_which_map. * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to _hurd_priority_which_map. * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS, passed through to proc_getprocinfo RPC. * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
Diffstat (limited to 'posix/regex.c')
-rw-r--r--posix/regex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/regex.c b/posix/regex.c
index f1db89a..3ca7bb2 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -28,6 +28,7 @@ Cambridge, MA 02139, USA. */
#pragma alloca
#endif
+#undef _GNU_SOURCE
#define _GNU_SOURCE
#ifdef HAVE_CONFIG_H
@@ -1003,7 +1004,7 @@ static const char *re_error_msgid[] =
This is a variable only so users of regex can assign to it; we never
change it ourselves. */
#if defined (MATCH_MAY_ALLOCATE)
-int re_max_failures = 200000;
+int re_max_failures = 20000;
#else
int re_max_failures = 2000;
#endif