This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: more: latest glibc glob code broken
- To: psmith@baynetworks.com
- Subject: Re: more: latest glibc glob code broken
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 10 Jul 1998 14:25:21 -0700
- Cc: libc-hacker@gnu.org, Make Alpha Testers <make-alpha@gnu.org>
- References: <9807102045.AA22925@lemming.engeast>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
"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 `------------------------