From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23367 invoked by alias); 18 Dec 2013 16:43:11 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32150 Received: (qmail 8061 invoked from network); 18 Dec 2013 16:43:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131218084255.ZM21825@torch.brasslantern.com> Date: Wed, 18 Dec 2013 08:42:55 -0800 In-reply-to: <52B165F3.9010609@recommind.com> Comments: In reply to Dirk Heinrichs "Re: zsh 5.0.2 dumps core on AIX 6.1 when running compinit." (Dec 18, 10:08am) References: <52AF088A.2040905@recommind.com> <131216072902.ZM21723@torch.brasslantern.com> <52B165F3.9010609@recommind.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Dirk Heinrichs , Subject: Re: zsh 5.0.2 dumps core on AIX 6.1 when running compinit. MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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