My bug. :-(
authorManuel Novoa III <mjn3@codepoet.org>
Mon, 8 Mar 2004 05:44:30 +0000 (05:44 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Mon, 8 Mar 2004 05:44:30 +0000 (05:44 -0000)
libbb/xfuncs.c

index 8784b5058a2da686c425cc6d594a8f127b35c644..da3775a590b02e2081b404e92b8ced667fe2b1fb 100644 (file)
@@ -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;
 }