summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-10-09 17:33:58 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-10-09 18:34:05 -0700
commit48f07576b8cd935b48e1050551f45ab1a79b9f01 (patch)
treee14e51c7087b98a8b8c19e0601870f5e9ea84147 /config
parent32915b2a8a43825720755113bdffe9f67a591748 (diff)
downloadgnulib-48f07576b8cd935b48e1050551f45ab1a79b9f01.tar.gz
regex: simplify by assuming C99
* config/srclist.txt: Comment out regex_internal.h and regexec.c temporarily. * lib/regex_internal.h (lock_define, re_match_context_t): Simplify by assuming C99 macros and const. * lib/regexec.c (re_search_internal): Simplify by assuming C99 initializers. Remove unnecessary assignment, as mctx is now safely initialized earlier.
Diffstat (limited to 'config')
-rw-r--r--config/srclist.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/srclist.txt b/config/srclist.txt
index bceaee8631..c53fb90a85 100644
--- a/config/srclist.txt
+++ b/config/srclist.txt
@@ -56,8 +56,8 @@ $LIBCSRC malloc/scratch_buffer_set_array_size.c lib/malloc
$LIBCSRC posix/regex.c lib
$LIBCSRC posix/regex.h lib
$LIBCSRC posix/regex_internal.c lib
-$LIBCSRC posix/regex_internal.h lib
-$LIBCSRC posix/regexec.c lib
+#$LIBCSRC posix/regex_internal.h lib
+#$LIBCSRC posix/regexec.c lib
$LIBCSRC time/timegm.c lib
$LIBCSRC time/mktime.c lib
$LIBCSRC time/mktime-internal.h lib