more: latest glibc glob code broken
Ulrich Drepper
drepper@cygnus.com
Fri Jul 10 14:31:00 GMT 1998
"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 `------------------------
More information about the Libc-hacker
mailing list