[comp.sources.bugs] E - the friendly vi front-end SYSTEM 5 BUG FIXES.

tcjones@watdragon.waterloo.edu (speedboat jones) (02/25/89)

Here are two patches for System 5 users of e (version 1.3).
If you are not on System 5 then you can safely ignore them.

Thanks to everyone who sent bug reports and fixes etc. There is still
a potential problem (for all unix versions) with the ok_[sf]printf() 
functions that was pointed out by Ken Yap - which I intend to ignore 
for now...

Thanks especially to Ken Yap and Tom Bertelson for their extensive 
comments and fixes.

Terry Jones.



Fix 3. /* This is a bit bad... ho hum. */

In find_hist.c line 75 (in the #ifdef Sysv) looks like this,
    if (!getcwd(cwd, sizeof(cwd))){
change it to 
    if (!getcwd(cwd, MAXPATHLEN)){

Tom Bertelson and Martin Leclerc got this one.





Fix 4.

In terminal.c line 55 (in the #ifdef Sysv) looks like this,
    set_blk.c_lflag = (initial_blk.c_lflag &= ~(ICANON|ECHO|ECHONL));
change it to
    set_blk.c_lflag = (initial_blk.c_lflag & ~(ICANON|ECHO|ECHONL));
i.e. change the &= to a plain old &

Tom Bertelson and Stephen Yee nabbed this little baby.