diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-03-08 05:44:30 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-03-08 05:44:30 +0000 |
commit | 948d4907a0d13f0b4f2a8b5985504ef406686b04 (patch) | |
tree | 1325d99453d16995b96e2c1f29b89771017525bd | |
parent | 2479445562a9b5a9f226d0b00c41dbd533e63213 (diff) | |
download | busybox-w32-948d4907a0d13f0b4f2a8b5985504ef406686b04.tar.gz busybox-w32-948d4907a0d13f0b4f2a8b5985504ef406686b04.tar.bz2 busybox-w32-948d4907a0d13f0b4f2a8b5985504ef406686b04.zip |
My bug. :-(
-rw-r--r-- | libbb/xfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 8784b5058..da3775a59 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -136,6 +136,7 @@ extern void bb_xread_all(int fd, void *buf, size_t count) | |||
136 | bb_error_msg_and_die("Short read"); | 136 | bb_error_msg_and_die("Short read"); |
137 | } | 137 | } |
138 | count -= size; | 138 | count -= size; |
139 | buf = ((char *) buf) + size; | ||
139 | } | 140 | } |
140 | return; | 141 | return; |
141 | } | 142 | } |