This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: useless file accesses (2)
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: useless file accesses (2)
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 09 Aug 2000 21:17:27 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <14734.43015.640161.708727@honolulu.ilog.fr>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Bruno Haible <haible@ilog.fr> writes:
> The intended test was probably a stat && S_ISDIR test, but even this
> one is not necessary because the first action of read_conf_file is to open a
> file in this directory and return silently if it doesn't exist.
The intend was to do some security checking. But this code never made
it (so far). I've applied your patch for now. Maybe it'll be added
back in a correct form some day.
Thanks,
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------