public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e430937
)
improved error handling: C_busy now returns 0 if C_failed is called
author
ceriel
<none@none>
Wed, 25 Oct 1989 11:36:51 +0000
(11:36 +0000)
committer
ceriel
<none@none>
Wed, 25 Oct 1989 11:36:51 +0000
(11:36 +0000)
modules/src/em_code/em.c
patch
|
blob
|
history
diff --git
a/modules/src/em_code/em.c
b/modules/src/em_code/em.c
index
f5f2442
..
d5db2de
100644
(file)
--- a/
modules/src/em_code/em.c
+++ b/
modules/src/em_code/em.c
@@
-71,6
+71,7
@@
C_flush() {
}
#endif
if (C_opp != obuf && sys_write(C_ofp, obuf, C_opp - obuf) == 0) {
+ C_ofp = 0;
C_failed();
}
C_opp = obuf;