This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] ldconfig fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]