zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: gak@klanderman.net
Cc: zsh-workers@zsh.org
Subject: Re: zsh hangs loading init files
Date: Sat, 7 Jan 2012 02:28:44 +0100	[thread overview]
Message-ID: <CAHYJk3T+_Ym1pSLL-Koz=xjifmpWrJEUB5kJO2bWEgBnPPn8Fw@mail.gmail.com> (raw)
In-Reply-To: <m3mxa0iad8.fsf@klanderman.net>

Please don't top post.

On 7 January 2012 02:12, Greg Klanderman <gak@klanderman.net> wrote:
>
> yes, thanks.
>
> looks like maybe HASH_DIRS logic was changed and is now stat()ing
> every potential executable it finds, whereas it used to only
> getdents() on all the dirs in your path.
>
> still haven't found the changeset.

I suspect this is the one, http://www.zsh.org/mla/users/2009/msg00786.html

commit e85349fbf793f18211d9280ca80ec8911e05c708
Author:     Peter Stephenson <pws@users.sourceforge.net>
AuthorDate: Mon Sep 21 09:22:20 2009 +0000

    users/14411: Src/hashtable.c: only hash stat-able executable regular
    files as commands
---
 ChangeLog       |    7 ++++++-
 Src/hashtable.c |   43 +++++++++++++++++++++++++++++++++++++------
 2 files changed, 43 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d51b6d1..4a477ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-21  Peter Stephenson  <pws@csr.com>
+
+       * users/14411: Src/hashtable.c: only hash stat-able executable
+       regular files in the command table.
+

-- 
Mikael Magnusson


  parent reply	other threads:[~2012-01-07  1:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-05 16:44 Greg Klanderman
2012-01-05 19:35 ` Dan Nelson
2012-01-07  1:12   ` Greg Klanderman
2012-01-07  1:27     ` Greg Klanderman
2012-01-07  1:28     ` Mikael Magnusson [this message]
2012-01-07  1:36       ` Greg Klanderman
2012-01-07  1:56         ` Mikael Magnusson
2012-01-07  7:17           ` Bart Schaefer
2012-01-07 20:17             ` Peter Stephenson
2012-01-09 20:19               ` Greg Klanderman

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='CAHYJk3T+_Ym1pSLL-Koz=xjifmpWrJEUB5kJO2bWEgBnPPn8Fw@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=gak@klanderman.net \
    --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).