Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-03-08 08:44:30 +0300
committerManuel Novoa III <mjn3@codepoet.org>2004-03-08 08:44:30 +0300
commit948d4907a0d13f0b4f2a8b5985504ef406686b04 (patch)
tree1325d99453d16995b96e2c1f29b89771017525bd /libbb
parent2479445562a9b5a9f226d0b00c41dbd533e63213 (diff)
My bug. :-(
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c1
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)
bb_error_msg_and_die("Short read");
}
count -= size;
+ buf = ((char *) buf) + size;
}
return;
}