From 948d4907a0d13f0b4f2a8b5985504ef406686b04 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 8 Mar 2004 05:44:30 +0000 Subject: [PATCH] My bug. :-( --- libbb/xfuncs.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.25.1