HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7071e5d
)
(sys_write): If any bytes were written, return how many.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 15 Feb 1994 16:22:49 +0000
(16:22 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 15 Feb 1994 16:22:49 +0000
(16:22 +0000)
src/sysdep.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index
b7baf4f
..
0f49fcc
100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-2754,7
+2754,7
@@
sys_write (fildes, buf, nbyte)
if (errno == EINTR)
continue;
else
- return (-1);
+ return (
bytes_written ? bytes_written :
-1);
}
buf += rtnval;