From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199612170000.TAA05863@bannon.sas.it.mtu.edu> Date: Mon, 16 Dec 1996 19:00:37 -0500 (EST) From: Andrew D. Isaacson Subject: Re: zsh memory violations In-Reply-To: <199612160438.XAA05055@nic-21-3.resnet.upenn.edu> Once upon a time, Vik Bajaj said: > > If I do an 'last | more' and exit with a 'q', zsh dies. > > Is this true on other machines? > zsh as provided by zsh-3.0pre6-1.axp.rpm is broken. If any program exits with a signal (is killed), zsh will die with a memory violation. When I tried to recompile zsh, I ran across problems due to the way that zsh's configure script expects the header files to behave: it parses signal.h and a few others to find the SIGXXX to number mappings. Since glibc's SIGXXX defines are in asm/sig(something).h, which is included from signal.h, the configure script breaks. I fixed it by telling the configure script to look in the correct file; I had to hand-edit the configure script. There was another problem having to do with the LIMXXX macros, which (if I recall correctly) I had to edit a system header file to get working. I'm hesitant to make RPMs up, since I don't have much experience with that kind of stuff, but I can make a zsh executable available via http or ftp if anyone is interested. I'll also try to get better notes and patches for what I did to make it compile. There were just the two fixes, so it shouldn't be too hard to replicate. -andy -- ontogeny recapitulates phylogeny. -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com