diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-12 07:15:21 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-12 07:15:21 +0000 |
commit | 6fd9c6f98e568a360a5378d033e0c5859b20de8d (patch) | |
tree | fa9fa73feaf40219287fafcef3aa3ba95dbb1935 /src/nl.c | |
parent | 2a75bb4ae0a1e7547e4396fe67825133606cf9d9 (diff) | |
download | coreutils-6fd9c6f98e568a360a5378d033e0c5859b20de8d.tar.gz coreutils-6fd9c6f98e568a360a5378d033e0c5859b20de8d.tar.bz2 coreutils-6fd9c6f98e568a360a5378d033e0c5859b20de8d.zip |
(build_type_arg): Set re_syntax_options to a value that is compatible
with what POSIX requires.
Diffstat (limited to 'src/nl.c')
-rw-r--r-- | src/nl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -253,6 +253,7 @@ build_type_arg (char **typep, struct re_pattern_buffer *regexp, char *fastmap) regexp->allocated = 0; regexp->fastmap = fastmap; regexp->translate = NULL; + re_syntax_options = RE_SYNTAX_POSIX_BASIC & ~RE_CONTEXT_INVALID_DUP; errmsg = re_compile_pattern (optarg, strlen (optarg), regexp); if (errmsg) error (EXIT_FAILURE, 0, "%s", errmsg); |