Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Static zsh aborts a function when zmodload is failed.



Static version of zsh aborts a function when zmodload is failed as:

Z(2):akr@is27e1u11% ./configure --prefix=/space/akr/zsh/zz --disable-dynamic&& make && make install
...
Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% tst () { print A; zmodload xxx; print B }
is27e1u11% tst
A
tst: failed to load module: xxx
is27e1u11% 

I think zsh should prints `B' as follows:

Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% tst () { print A; zmodload xxx; print B }
is27e1u11% tst
A
tst: failed to load module: xxx
B
is27e1u11% 

Dynamic version works well.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author