PATCH: Handle symlink to directory in ldconfig.

H . J . Lu hjl@lucon.org
Mon May 7 12:15:00 GMT 2001


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.



More information about the Libc-alpha mailing list