zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Dirk Heinrichs <dhs@recommind.com>, <zsh-workers@zsh.org>
Subject: Re: zsh 5.0.2 dumps core on AIX 6.1 when running compinit.
Date: Wed, 18 Dec 2013 08:42:55 -0800	[thread overview]
Message-ID: <131218084255.ZM21825@torch.brasslantern.com> (raw)
In-Reply-To: <52B165F3.9010609@recommind.com>

On Dec 18, 10:08am, Dirk Heinrichs wrote:
}
} I recompiled both zsh 5.0.2 and 5.0.3 myself, using gcc (the package
} from perzl.org was compiled with the native AIX compiler). Both
} self-compiled versions work fine, so it seams to be an issue with the
} package from perzl.org. I'll see if I can address this with Michael
} Perzl.

Could be a difference of the AIX compiler as well.

} he-aix-main-61# compinit
} compaudit:zstat:102: /proc/8781864/exe: a file or directory in the path
} name does not exist.

That was a silly one.

diff --git a/Completion/compaudit b/Completion/compaudit
index 75742a0..00125e4 100644
--- a/Completion/compaudit
+++ b/Completion/compaudit
@@ -101,7 +101,7 @@ for _i_exe in $_i_exes; do
   if [[ -e $_i_exe ]] ;then
     if zmodload -F zsh/stat b:zstat 2>/dev/null; then
       local -A _i_stathash
-      if zstat -H _i_stathash /proc/$$/exe &&
+      if zstat -H _i_stathash $_i_exe &&
 	[[ $_i_stathash[uid] -ne 0 ]]; then
 	_i_owners+="u${_i_stathash[uid]}"
       fi


      reply	other threads:[~2013-12-18 16:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 14:04 Dirk Heinrichs
2013-12-16 15:29 ` Bart Schaefer
2013-12-18  9:08   ` Dirk Heinrichs
2013-12-18 16:42     ` Bart Schaefer [this message]

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=131218084255.ZM21825@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=dhs@recommind.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).