This trunk patch should go into the 2.3 branch: 2005-06-14 Ulrich Drepper <drepper@redhat.com> * include/string.h: Use libc_hidden_proto for strnlen. * sysdeps/generic/strnlen.c: Add libc_hidden_def. 2005-03-29 Jakub Jelinek <jakub@redhat.com> * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to avoid calling mbsrtowcs twice.
Subject: Bug 1087 CVSROOT: /cvs/glibc Module name: libc Branch: glibc-2_3-branch Changes by: roland@sources.redhat.com 2005-07-18 01:59:06 Modified files: posix : fnmatch.c Log message: 2005-03-29 Jakub Jelinek <jakub@redhat.com> [BZ #1087] * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to avoid calling mbsrtowcs twice. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/posix/fnmatch.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.50&r2=1.50.4.1
Subject: Bug 1087 CVSROOT: /cvs/glibc Module name: libc Branch: glibc-2_3-branch Changes by: roland@sources.redhat.com 2005-07-18 01:59:20 Modified files: sysdeps/generic: strnlen.c include : string.h Log message: 2005-06-14 Ulrich Drepper <drepper@redhat.com> [BZ #1087] * include/string.h: Use libc_hidden_proto for strnlen. * sysdeps/generic/strnlen.c: Add libc_hidden_def. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/generic/strnlen.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.3&r2=1.3.4.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/string.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.31&r2=1.31.2.1
This fix is now in the 2.3 branch as well as the trunk, and the problem should be resolved as of the 2.3.6 release.