Subject: sh NO_HISTORY bug fix..
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Christos Zoulas <christos@deshaw.com>
List: current-users
Date: 06/07/1994 22:00:11
Otherwise it core dumps...
christos
*** input.c.dist Sat May 21 07:38:26 1994
--- input.c Tue Jun 7 15:04:59 1994
***************
*** 201,208 ****
flushout(&output);
flushout(&errout);
retry:
- #ifndef NO_HISTORY
p = parsenextc = parsefile->buf;
if (parsefile->fd == 0 && el) {
const char *rl_cp;
int len;
--- 201,208 ----
flushout(&output);
flushout(&errout);
retry:
p = parsenextc = parsefile->buf;
+ #ifndef NO_HISTORY
if (parsefile->fd == 0 && el) {
const char *rl_cp;
int len;
------------------------------------------------------------------------------