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


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

Re: PATCH: Handle symlink to directory in ldconfig.


On Mon, May 07, 2001 at 09:07:40PM +0200, Andreas Jaeger wrote:
> 
> Two questions:
> - wouldn't it be better to cache the needed stat information in struct
>   dir_entry?

I don't think speed is critical for ldconfig. On the other hand,
it is not a bad idea.

> - can we really memcmp to stat bufs?  I don't think so.  We should
>   instead compare st_dev and st_ino only.

Sure.

I will see what I can do.


H.J.


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