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.


"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


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