zsh-workers
 help / color / mirror / code / Atom feed
* Bug in zsh 3.0.8
@ 2000-12-13 14:14 Nadav Har'El
  2000-12-13 15:38 ` Bart Schaefer
  2000-12-13 15:46 ` Bart Schaefer
  0 siblings, 2 replies; 5+ messages in thread
From: Nadav Har'El @ 2000-12-13 14:14 UTC (permalink / raw)
  To: zsh-workers

I found the following bug in zsh 3.0.8 (I don't know if it exists in the
latest beta version, since i don't have it):

/home/nyh$ cat /tmp/z.z
echo $ZSH_VERSION
let 'a[3]=2'
let 'a[3]=2'
/home/nyh$ zsh /tmp/z.z
3.0.8
zsh: segmentation fault  zsh /tmp/z.z


I don't know what's wrong: had an array already been defined, stuff like
let 'a[3]++' works. So why can't let 'a[3]=2' work? Strangely, the first
let command doesn't crash (but it doesn't set a[3]!), and only the second
one crashes zsh.

Thanks,
	Nadav.


-- 
Nadav Har'El                        |   Wednesday, Dec 13 2000, 16 Kislev 5761
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |If Windows is the answer, you didn't
http://nadav.harel.org.il           |understand the question.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-12-13 15:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13 14:14 Bug in zsh 3.0.8 Nadav Har'El
2000-12-13 15:38 ` Bart Schaefer
2000-12-13 15:49   ` Nadav Har'El
2000-12-13 15:46 ` Bart Schaefer
2000-12-13 15:52   ` Nadav Har'El

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).