projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2479445
)
My bug. :-(
author
Manuel Novoa III
<mjn3@codepoet.org>
Mon, 8 Mar 2004 05:44:30 +0000
(
05:44
-0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Mon, 8 Mar 2004 05:44:30 +0000
(
05:44
-0000)
libbb/xfuncs.c
patch
|
blob
|
history
diff --git
a/libbb/xfuncs.c
b/libbb/xfuncs.c
index 8784b5058a2da686c425cc6d594a8f127b35c644..da3775a590b02e2081b404e92b8ced667fe2b1fb 100644
(file)
--- a/
libbb/xfuncs.c
+++ b/
libbb/xfuncs.c
@@
-136,6
+136,7
@@
extern void bb_xread_all(int fd, void *buf, size_t count)
bb_error_msg_and_die("Short read");
}
count -= size;
+ buf = ((char *) buf) + size;
}
return;
}