zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Cc: James Devenish <j-devenish@users.sourceforge.net>
Subject: Re: PATCH: case-insensitive globbing
Date: Mon, 08 Mar 2004 14:38:42 +0100	[thread overview]
Message-ID: <20450.1078753122@trentino.logica.co.uk> (raw)
In-Reply-To: <10956.1078747416@csr.com>

Peter wrote:
> 
> > It's just a thought but would it be somehow possible to detect the
> > filesystem type and allow the efficency gain to be of use where, for
> > example, a windows partition is mounted from linux.
> 
> Yes, it occurred to me, but it's too complicated for now.  Also, it
> means checking for every single file when the option is on.  I'm not
> sure this can be done efficiently.

Wouldn't each directory be sufficient?

> +	if (!patglobflags
> +#ifdef __CYGWIN__

As pointed out by James Devenish, it is probably also relevant for Mac
OS X. Can anyone confirm what preprocessor defines we should be looking
for? My reading of this:
  http://developer.apple.com/technotes/tn2002/tn2071.html
would indicate both __APPLE__ and __MACH__ but it isn't entirely clear.

Oliver


  reply	other threads:[~2004-03-08 13:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18393.1078742029@csr.com>
2004-03-08 12:03 ` Peter Stephenson
2004-03-08 13:38   ` Oliver Kiddle [this message]
2004-03-08 13:45     ` Peter Stephenson
     [not found] <20040308122200.GA13641@mail.guild.uwa.edu.au>
2004-03-08 12:34 ` Peter Stephenson
2004-03-08 12:40   ` James Devenish
2004-03-08 13:43     ` Peter Stephenson
2004-03-08 13:49     ` James Devenish
2004-03-08 16:36       ` Peter Stephenson

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=20450.1078753122@trentino.logica.co.uk \
    --to=okiddle@yahoo.co.uk \
    --cc=j-devenish@users.sourceforge.net \
    --cc=zsh-workers@sunsite.dk \
    /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).