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

Re: another bug: zsh_directory_name



2008/10/30 Oliver Kiddle <okiddle@xxxxxxxxxxx>:
> Just thought I'd check that the case of calling this new ~[...] stuff
> recursively had been handled. The following caused an instant seg fault:
>
> zsh_directory_name() {
>  echo ~[]
> }

I don't think this has anything to do with ~[],
% function a() { a }
% a
zsh: segmentation fault  zsh

(i appear to not have debug symbols but maybe better than nothing),
(gdb) bt
#0  0x08069b4c in execcmd ()
#1  0x0806df95 in execpline2 ()
#2  0x0806e39d in execpline ()
#3  0x00000000 in ?? ()

-- 
Mikael Magnusson



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