summary refs log tree commit diff
path: root/posix/regexbug1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-23 16:54:35 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-23 16:54:35 +0000
commita286028236801749fbdc42473c8dca8c1c233508 (patch)
treef2db9e5a4269762ad44e264f66c00350006e3ba8 /posix/regexbug1.c
parentc107ccd460c7153bce5d762a52c38cdf5e0ead88 (diff)
downloadglibc-a286028236801749fbdc42473c8dca8c1c233508.tar.gz
glibc-a286028236801749fbdc42473c8dca8c1c233508.tar.xz
glibc-a286028236801749fbdc42473c8dca8c1c233508.zip
Update.
1999-08-23  Ulrich Drepper  <drepper@cygnus.com>

	* posix/regexbug1.c: Make it an error if the test fails.

1999-08-23  Andreas Schwab  <schwab@suse.de>
	    Ulrich Drepper  <drepper@cygnus.com>

	* posix/regex.c (re_match_2_internal): Correct check for charset
	after exactn in loop.
Diffstat (limited to 'posix/regexbug1.c')
-rw-r--r--posix/regexbug1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/posix/regexbug1.c b/posix/regexbug1.c
index 6f7f995f57..8ab0bc0e6c 100644
--- a/posix/regexbug1.c
+++ b/posix/regexbug1.c
@@ -23,9 +23,8 @@ main (void)
   if (regexec (&re, "002", 2, ma, 0) != 0)
     {
       error (0, 0, "\"0*[0-9][0-9]\" did not match \"002\"");
-      /* Comment the following line out until the bug is fixed.  */
-      //res = 1;
+      res = 1;
     }
 
-  return 0;
+  return res;
 }