diff options
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; } |