[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox-cvs
Subject: svn commit: trunk/busybox/coreutils
From: vda () busybox ! net (vda at busybox ! net)
Date: 2007-07-29 14:59:08
Message-ID: 20070729145908.C4426A459C () busybox ! net
[Download RAW message or body]
Author: vda
Date: 2007-07-29 07:59:06 -0700 (Sun, 29 Jul 2007)
New Revision: 19327
Log:
dd: fix newly introduced bug (introduced by me)
Modified:
trunk/busybox/coreutils/dd.c
Changeset:
Modified: trunk/busybox/coreutils/dd.c
===================================================================
--- trunk/busybox/coreutils/dd.c 2007-07-29 14:45:26 UTC (rev 19326)
+++ trunk/busybox/coreutils/dd.c 2007-07-29 14:59:06 UTC (rev 19327)
@@ -268,7 +268,7 @@
goto die_outfile;
}
- while ((flags & FLAG_COUNT) && (G.in_full + G.in_part != count)) {
+ while (!(flags & FLAG_COUNT) || (G.in_full + G.in_part != count)) {
if (flags & FLAG_NOERROR) /* Pre-zero the buffer if conv=noerror */
memset(ibuf, 0, ibs);
n = safe_read(ifd, ibuf, ibs);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic