Bug#367823: zsh: segfault when completing arrays

2006-05-19 Thread Frank Terbeck
Peter Stephenson <[EMAIL PROTECTED]>: > Clint Adams wrote: [...] > > Should zlemetaline be 0 or should zleline + zlemetacs be non-zero? > > I suspect it's just a typo... > > Index: Src/Zle/zle_params.c [...] > - return dupstrpfx((char *)zleline + zlemetacs, zlemetall - zlemetacs); > + retu

Bug#367823: zsh: segfault when completing arrays

2006-05-18 Thread Frank Terbeck
Package: zsh Version: 4.3.2-8 Severity: normal Howdy. zsh 4.3.2 crashes with sig11 when doing the following: [snip] % zsh -f % autoload compinit; compinit % array=( 5 4 3 2 1 ) % print $array[4] ^- place your cursor here and hit [snap] I've tested this on a sarge system with zsh