zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: Zsh Hackers <zsh-workers@math.gatech.edu>
Subject: Re: PATCH: 3.1.5: ``***'' symlink follow broken
Date: Fri, 13 Nov 1998 09:55:31 +0100	[thread overview]
Message-ID: <9811130855.AA19601@ibmth.df.unipi.it> (raw)
In-Reply-To: ""Bart Schaefer""'s message of "Thu, 12 Nov 1998 09:21:46 NFT." <981112092146.ZM11912@candle.brasslantern.com>

"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@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56100 Pisa, Italy


  reply	other threads:[~1998-11-13  9:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-12  6:20 Geoff Wing
1998-11-12 10:04 ` Bart Schaefer
1998-11-12 14:10 ` Peter Stephenson
1998-11-12 14:58   ` Bruce Stephens
1998-11-12 17:21   ` Bart Schaefer
1998-11-13  8:55     ` Peter Stephenson [this message]
1998-11-13  6:59 ` Geoff Wing
1998-11-13 17:15   ` PATCH: */* broken (Re: PATCH: 3.1.5: ``***'' symlink follow broken) Bart Schaefer
1998-11-14 12:38     ` Geoff Wing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9811130855.AA19601@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).