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

Re: Segfault on really long paths



On ÐÑÐÑÐÐÐ 30 ÐÐÐÐÐÑÑ 2008 03:19:51 Richard Hartmann wrote:
> Hi all,
>
> richih@adamantium ~ % for i in {1..1000}; do mkdir 0123456789; cd
> 0123456789; done
> [1]    24398 segmentation fault  zsh
> richih@adamantium ~ %
>
> It would be better to throw an error than to segfault.
>

Does not do here (Mandriva cooker):

cooker% /bin/pwd > /tmp/foo
cooker% wc /tmp/foo
    1     1 11018 /tmp/foo
cooker% echo $ZSH_VERSION
4.3.6-dev-0

glibc-2.8-1.20080520.5mnb2

Are you sure it is zsh and not (g)libc segfaulting?

Attachment: signature.asc
Description: This is a digitally signed message part.



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