[4917] in SIPB bug reports
Re: uemacs for sun
daemon@ATHENA.MIT.EDU (Salvatore Valente)
Sun Oct 16 05:46:06 1994
Date: Sun, 16 Oct 1994 05:45:36 -0400
To: chris shabsin <shabby@MIT.EDU>
Cc: bug-sipb@MIT.EDU
In-Reply-To: [4916]
From: Salvatore Valente <svalente@MIT.EDU>
using ^S to do isearch in uemacs on this solaris machine caused
uemacs to segfault.
Fixed.
For the record, this was the bug: One of the compilation options to
uemacs is -DVARARGS. I did not use this switch, because I was using
an Ansi compiler, and I hoped that by turning off varargs, it would
turn on stdargs (the Ansi equivalent) instead. It did not. As it
turns out, the alternative to varargs is some putrid code that tries
to get variable arguments by incrementing the pointer of the last
argument to the function. It doesn't work. (Especially if you
compile with optimization.) So I recompiled it with -DVARARGS and now
everything's dandy.
It will appear the next time the sipb locker is released.
Have a nice day.
-Sal.