Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 5.0.2 dumps core on AIX 6.1 when running compinit.
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author