mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user