zsh-workers
 help / color / mirror / code / Atom feed
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: [BUG] Directory glob picks up running or already-run scripts on OS X
Date: Tue, 12 Jul 2016 04:18:30 +0900	[thread overview]
Message-ID: <A07548DE-DE2E-4918-AE88-3BCCCD21828B@kba.biglobe.ne.jp> (raw)
In-Reply-To: <160711095934.ZM13739@torch.brasslantern.com>

I tested on Mavericks (10.9.5) and El Capitan (10.11.5).

On OS X 10.9.5, the behavior is the same as 10.8.

But on 10.11.5, I can not reproduce the strange behavior of
access(2) if I use bash or /bin/zsh (5.0.8, built by Apple).
The problem exists only if I run the script and atest from
/usr/local/bin/zsh (git HEAD, local build).

The script itself (foo in my case) need not be a zsh script.
It can be
#!/bogus/command
to reproduce the problem.

I have no idea where the information that the script foo
has been run is "cached", why it can affect the result
of a system call.


  reply	other threads:[~2016-07-11 19:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-09  3:55 Zhiming Wang
2016-07-10 20:12 ` Bart Schaefer
     [not found]   ` <B17666ED-6D14-477C-B45D-3B7F064B5F24@gmail.com>
2016-07-11  0:38     ` Bart Schaefer
2016-07-11  0:48       ` Zhiming Wang
2016-07-11  4:58         ` Bart Schaefer
2016-07-11 10:08           ` Peter Stephenson
2016-07-11  8:51   ` Jun T.
2016-07-11 16:59     ` Bart Schaefer
2016-07-11 19:18       ` Jun T. [this message]
2016-07-11 20:08         ` Jun T.
2016-07-14  5:27         ` Bart Schaefer

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=A07548DE-DE2E-4918-AE88-3BCCCD21828B@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /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).