Fix bug that led to comments bnot being ignored.
This commit is contained in:
parent
df23b58032
commit
d2643712dd
4 changed files with 2 additions and 14 deletions
4
misc.c
4
misc.c
|
@ -888,9 +888,9 @@ long I, VAL;
|
|||
if (!oldstyle && SETUP && OPENED == stdin)
|
||||
fputs("> ", stdout);
|
||||
do {
|
||||
IGNORE(fgets(rawbuf,sizeof(INLINE)-1,OPENED));
|
||||
IGNORE(fgets(rawbuf,sizeof(rawbuf)-1,OPENED));
|
||||
} while
|
||||
(!feof(OPENED) && INLINE[1] == '#');
|
||||
(!feof(OPENED) && rawbuf[0] == '#');
|
||||
if (feof(OPENED)) {
|
||||
if (logfp && OPENED == stdin)
|
||||
fclose(logfp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue