diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-23 16:54:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-23 16:54:35 +0000 |
commit | a286028236801749fbdc42473c8dca8c1c233508 (patch) | |
tree | f2db9e5a4269762ad44e264f66c00350006e3ba8 /posix/regexbug1.c | |
parent | c107ccd460c7153bce5d762a52c38cdf5e0ead88 (diff) | |
download | glibc-a286028236801749fbdc42473c8dca8c1c233508.tar glibc-a286028236801749fbdc42473c8dca8c1c233508.tar.gz glibc-a286028236801749fbdc42473c8dca8c1c233508.tar.bz2 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.c | 5 |
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; } |