pinosaur
/
st.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unix end of file.
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
486735d
..
97e1800
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-558,10
+558,10
@@
static int frclen = 0;
ssize_t
xwrite(int fd, const char *s, size_t len)
{
- size_t aux = len;
+ size_t aux = len
, r
;
while (len > 0) {
-
ssize_t
r = write(fd, s, len);
+ r = write(fd, s, len);
if (r < 0)
return r;
len -= r;
@@
-4316,3
+4316,4
@@
run:
return 0;
}
+