1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
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:
Ulrich Drepper
1999-08-23 16:54:35 +00:00
parent c107ccd460
commit a286028236
3 changed files with 28 additions and 22 deletions

View File

@ -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;
}