[PATCH] Fix regex bug with empty alternatives
Ulrich Drepper
drepper@redhat.com
Mon Aug 12 12:21:00 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jakub Jelinek wrote:
> 2002-08-08 Jakub Jelinek <jakub@redhat.com>
>
> * posix/regcomp.c (parse_reg_exp): If '|' is immediately followed
> by another '|', end of regex or enclosing ')', clear branch.
> * posix/bug-regex9.c: New test.
> * posix/Makefile (tests): Add bug-regex9.
I've applied this patch now. Thanks,
- --
- ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9WAq52ijCOnn/RHQRAiBKAJ9Xrq99HTT5hXSS2J6KtEpptLzlHgCgq5mD
LxbmhpAmOaJTDweZbaWfQFk=
=x7aJ
-----END PGP SIGNATURE-----
More information about the Libc-hacker
mailing list