Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 3.1.5: ``***'' symlink follow broken
- X-seq: zsh-workers 4622
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: Zsh Hackers <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Re: PATCH: 3.1.5: ``***'' symlink follow broken
- Date: Fri, 13 Nov 1998 09:55:31 +0100
- In-reply-to: ""Bart Schaefer""'s message of "Thu, 12 Nov 1998 09:21:46 NFT." <981112092146.ZM11912@xxxxxxxxxxxxxxxxxxxxxxx>
"Bart Schaefer" wrote:
> So *unless* somebody knows of a reason not to do opendir() on something
> that isn't a directory, I think Geoff's patch is actually better [on the
> assumption that a failed opendir() is faster than a successful stat()].
I thought about it some more last night and came to this conclusion
too. Only if you can test the number of subdirectories, and hence
prune empty subdirectories, is the stat() worthwhile. I'm very
tempted by Geoff's second suggestion, though.
> Late last night I was of the opinion that `closure' mattered more than
> did `q->follow', but I've since revised that opinion.
I think it's written so that `closure' matters as little as possible
when it's analysing individual directories.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author