From 2f76d88d7dba542d15fce687b7d05ef026ab267b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 10 Aug 2001 05:59:19 +0000 Subject: Update. * posix/fnmatch_loop.c: Fix computation of alignment. 2001-08-09 Isamu Hasegawa * posix/regex.c (wcs_regex_compile): Use appropriate string to compare with collating element. Fix the padding for the alignment. 2001-08-09 Isamu Hasegawa * locale/programs/ld-collate.c (collate_output): Exclude characters from elem_table. Reduce if clause to write collating elements correctly. * posix/Makefile (tests): Add bug-regex5. * posix/bug-regex5.c: New file. 2001-08-09 Ulrich Drepper --- posix/fnmatch_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix/fnmatch_loop.c') diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c index 4f2e4a3d93..4c6168ae9f 100644 --- a/posix/fnmatch_loop.c +++ b/posix/fnmatch_loop.c @@ -531,7 +531,7 @@ FCT (pattern, string, string_end, no_leading_period, flags) idx += 1 + extra[idx]; /* Adjust for the alignment. */ - idx = (idx + 3) & ~4; + idx = (idx + 3) & ~3; wextra = (int32_t *) &extra[idx + 4]; # endif -- cgit v1.2.1