From a286028236801749fbdc42473c8dca8c1c233508 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 23 Aug 1999 16:54:35 +0000 Subject: Update. 1999-08-23 Ulrich Drepper * posix/regexbug1.c: Make it an error if the test fails. 1999-08-23 Andreas Schwab Ulrich Drepper * posix/regex.c (re_match_2_internal): Correct check for charset after exactn in loop. --- posix/regexbug1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'posix/regexbug1.c') 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; } -- cgit 1.4.1