about summary refs log tree commit diff
path: root/posix/regcomp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-16 06:16:27 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-16 06:16:27 +0000
commitc0d5034ed1517d6e545d141d697abc2f10528c2c (patch)
treeff130882d1c2127b951ab58053eb44ebf3699d0e /posix/regcomp.c
parenta0a8461cf99175130a793e6d277b199aa8e670f9 (diff)
downloadglibc-c0d5034ed1517d6e545d141d697abc2f10528c2c.tar.gz
glibc-c0d5034ed1517d6e545d141d697abc2f10528c2c.tar.xz
glibc-c0d5034ed1517d6e545d141d697abc2f10528c2c.zip
Update.
	* posix/regexec.c (check_arrival): Remove duplicate test.

2003-12-15  Ulrich Drepper  <drepper@redhat.com>

	* posix/regcomp.c: Make !RE_ENABLE_I18N work again.
	* posix/regex_internal.c: Likewise.
	* posix/regexec.c: Likewise.
	Patch by Paolo Bonzini.

2003-12-14  Paolo Bonzini  <bonzini@gnu.org>
Diffstat (limited to 'posix/regcomp.c')
-rw-r--r--posix/regcomp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c
index bdcc59da1a..1c7bd71618 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -406,8 +406,11 @@ re_compile_fastmap_iter (bufp, init_state, fastmap)
 	    }
 	}
 #endif /* RE_ENABLE_I18N */
-      else if (type == END_OF_RE || type == OP_PERIOD
-	       || type == OP_UTF8_PERIOD)
+      else if (type == OP_PERIOD
+#ifdef RE_ENABLE_I18N
+	       || type == OP_UTF8_PERIOD
+#endif /* RE_ENABLE_I18N */
+	       || type == END_OF_RE)
 	{
 	  memset (fastmap, '\1', sizeof (char) * SBC_MAX);
 	  if (type == END_OF_RE)