zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: (EXT) Re: Using the history expansion modifier 'a' results in excessive lstat calls
Date: Wed, 25 May 2022 11:33:15 +0100 (BST)	[thread overview]
Message-ID: <1468290738.368523.1653474795097@mail2.virginmedia.com> (raw)
In-Reply-To: <CY5PR20MB48430CAFBC351054B40CAC2AC1D69@CY5PR20MB4843.namprd20.prod.outlook.com>

> On 25 May 2022 at 11:22 Stefan Radziuk <sradziuk@pdtpartners.com> wrote:
> > Will it be worth seeing what effects the following has?
> 
> This resolves the issue for me -- verified with strace. Thanks.
>
>  dnl CHECK FOR SYSTEMS REQUIRING GETCWD
> +dnl This is now turned on by default, as we expect modern getcwd
> +dnl implementations to work correctly.  Any exceptions should be added
> +dnl to the first case.  Currently there are none, hence it is forced
> +dnl not to match.

Unless anyone has strong views, I'll commit this --- hoping at the most
we'll be look at edge effects on older or rarer systems which we're not
going to track down any other way.

pws


  reply	other threads:[~2022-05-25 10:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 10:08 Stefan Radziuk
2022-05-20 10:15 ` Peter Stephenson
2022-05-25  9:53   ` Peter Stephenson
2022-05-25 10:22     ` (EXT) " Stefan Radziuk
2022-05-25 10:33       ` Peter Stephenson [this message]
2022-05-26  8:35         ` Peter Stephenson
2022-05-20 10:34 ` Mikael Magnusson
2022-05-23 11:32   ` (EXT) " Stefan Radziuk

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=1468290738.368523.1653474795097@mail2.virginmedia.com \
    --to=p.w.stephenson@ntlworld.com \
    --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).