projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
forgot a newline in the last change (to psym)
[unix-history]
/
usr
/
src
/
old
/
sh
/
word.c
diff --git
a/usr/src/old/sh/word.c
b/usr/src/old/sh/word.c
index
9e0dece
..
c55a31e
100644
(file)
--- a/
usr/src/old/sh/word.c
+++ b/
usr/src/old/sh/word.c
@@
-1,4
+1,4
@@
-/* word.c 4.
1 82/05/07
*/
+/* word.c 4.
2 83/06/10
*/
#
/*
#
/*
@@
-126,7
+126,9
@@
LOCAL readb()
REG FILE f=standin;
REG INT len;
REG FILE f=standin;
REG INT len;
+ IF setjmp(INTbuf) == 0 THEN trapjmp[INTR] = 1; FI
REP IF trapnote&SIGSET THEN newline(); sigchk() FI
PER (len=read(f->fdes,f->fbuf,f->fsiz))<0 ANDF trapnote DONE
REP IF trapnote&SIGSET THEN newline(); sigchk() FI
PER (len=read(f->fdes,f->fbuf,f->fsiz))<0 ANDF trapnote DONE
+ trapjmp[INTR] = 0;
return(len);
}
return(len);
}