Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] Directory glob picks up running or already-run scripts on OS X
- X-seq: zsh-workers 38828
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [BUG] Directory glob picks up running or already-run scripts on OS X
- Date: Mon, 11 Jul 2016 09:59:34 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=wyhsWVPjBijSffGtyJvmhipH+lBf4Vjxg58LchB6Fbg=; b=BBUWLpOI9qnN/oz0ek4F50T9pZbWU+6CeXayRh1jkI3vcg2dX3yIb8lCc46C3HDgZt 5G26nxTLUlR5f8nwC1vVuyOx4YcOEkBMOZHKgC4yicRSUScJx3ygfhqzwgKwP8ZJLH1l 2TXR7glsGfcMUVag9LJQwxTdNImWauxWouCmWc12cn8LX7IRO89q1TTpK7Gjik8ptRZz KcMZ7rbMtGDXHgeENetTV8ShvpCegNEJmCy9trZoaRhtT5b+y29nXZY6R2sRv+ZD+dVa We2j/THI4js8j3FQNKqdH4r3oyZMxOyY1sSylZJLQs5R52sAtKpwStMzVIjYdcy9aW+e MT+g==
- In-reply-to: <9516F748-A5C9-41D7-9739-A87B771551FD@kba.biglobe.ne.jp>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CEE58D57-A237-4451-8882-0AE0CE21DD58@gmail.com> <CAH+w=7Y6GEJxa5LS4AeG5V5hsyUYJkSEEEMRnMSSJpLpRfLPXA@mail.gmail.com> <9516F748-A5C9-41D7-9739-A87B771551FD@kba.biglobe.ne.jp>
On Jul 11, 5:51pm, Jun T. wrote:
}
} Near the end of statfullpath() (line 301 of glob.c), the access(2) system
} call is used to check whether the path is actually a directory:
} access(buf, F_OK)
} where buf is set to 'script1/.'; but it seems access(2) behaves quite
} strangely on OS X.
} On OS X 10.8.5 (Mountain Lion, a rather old version) I get the following
This is once again sounding vaguely familiar, as in, I think we ran
into problems with access() before.
What's curious is that this doesn't show up in zsh-5.0.8 as shipped
stock with El Capitan even though you find it in older versions of
OSX. I grepped around and scanned changelogs looking for something
that may have changed in the configure-discovered compiler settings
but did not see anything that appeared related.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author