From: Ulrich Drepper Date: Mon, 16 Feb 2004 19:27:53 +0000 (+0000) Subject: [BZ #6] X-Git-Tag: cvs/fedora-base~807 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf14fb7c60ffdc0024779ccfd20476538b7716ae;p=thirdparty%2Fglibc.git [BZ #6] Update. * posix/regexec.c (transit_state): Fix typo in commented-out code [BZ #6]. --- diff --git a/ChangeLog b/ChangeLog index a2d36ccf8fb..54ccf3d7ac4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-02-16 Ulrich Drepper + * posix/regexec.c (transit_state): Fix typo in commented-out code + [BZ #6]. + * sysdeps/posix/getaddrinfo.c (match_prefix): Correctly match partial bytes [BZ #24]. * posix/Makefile (tests): Add bug-ga1. diff --git a/posix/regexec.c b/posix/regexec.c index c524ce8fb64..be361cf51f2 100644 --- a/posix/regexec.c +++ b/posix/regexec.c @@ -2198,7 +2198,7 @@ transit_state (err, mctx, state) { /* don't use transition table */ next_state = transit_state_sb (err, mctx, state); - if (BE (next_state == NULL && err != REG_NOERROR, 0)) + if (BE (next_state == NULL && *err != REG_NOERROR, 0)) return NULL; } #endif