PATCH: Handle symlink to directory in ldconfig.

Andreas Jaeger aj@suse.de
Mon May 7 12:25:00 GMT 2001


"H . J . Lu" <hjl@lucon.org> writes:

> 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.

ldconfig is often run at each boot up - and speeding up the boot
process is important.

> > - 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.

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-alpha mailing list