This is the mail archive of the libc-hacker@sourceware.cygnus.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: more: latest glibc glob code broken


"Paul D. Smith" <psmith@BayNetworks.COM> writes:

> In the new version, it _does_ look for the file.  Then, after all that
> looking, if it's not found it just copies over the file anyway (if
> GLOB_NOCHECK is set).  So if there are no meta chars the results will be
> the same (the single file name) whether or not the file is found in the
> directory!!

I do not remember the reason for the changes in the moment.  All I can
say in this moment is that if there is a real change (unlike the
missing optimization mentioned in the other mail) it was necessary.
The last time I changed glob it was because some tests I've run
failed.  I'll take a look at all this ASAP.  It would help a lot if
you could provide some testing dat a(a shell script creating an
appropriate file hierachy).

Thanks,

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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