OSDN Git Service

dd: fix bug where we assume count=INT_MAX when count is unspecified;
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 27 Jul 2007 15:02:00 +0000 (15:02 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 27 Jul 2007 15:02:00 +0000 (15:02 -0000)
commit75878706174290fbf5faac0215b3b9ae78fa9d6f
tree91bc2115d527c840803bec00c4b1aa6b9ffdbef8
parent1d10aaf11617558592b0215fe85bc42fa444e384
dd: fix bug where we assume count=INT_MAX when count is unspecified;
shrink dd while at it

function                                             old     new   delta
dd_main                                             1453    1368     -85
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-85)             Total: -85 bytes
   text    data     bss     dec     hex filename
 669216    2668   13616  685500   a75bc busybox_old
 669128    2668   13616  685412   a7564 busybox_unstripped
coreutils/dd.c