[PATCH] ldconfig fix
Jakub Jelinek
jakub@redhat.com
Fri Mar 16 15:43:00 GMT 2001
On Fri, Mar 16, 2001 at 02:03:59PM -0800, Ulrich Drepper wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
>
> > BTW: Could you please also look at:
> > http://sources.redhat.com/ml/libc-hacker/2001-03/msg00009.html
>
> Test program?
echo 'int main() {}' > test.c; gcc -o test test.c -ltermcap; strace ./test 2>&1 | grep open | grep libc.so.6 | grep -v ENOENT
Without the patch libc.so.6 is opened twice (the second time for
open/read/fstat64/close), with the patch just once.
Jakub
More information about the Libc-hacker
mailing list