[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: dd error found
From:       Bernhard Fischer <rep.dot.nop () gmail ! com>
Date:       2007-04-19 21:54:28
Message-ID: 20070419215428.GA7367 () aon ! at
[Download RAW message or body]

On Thu, Apr 19, 2007 at 08:49:55PM +0200, Dirk Clemens wrote:
>Dirk Clemens wrote:
>>
>> dd works wrong for at least this command line:
>>
>> dd if=a_file ibs=64 skip=16 count=1
>>
>> the output of busybox dd start with byte at offset #0 from
>> 'a_file', but not at 64*16 -> skip is ignored.
>>
>
>this is the error line:
>		if (what == skip) { //<<<<<<<<<<<<<<<<<<<<
>			skip = XATOU_SFX(arg, dd_suffixes);
>			continue;
>
>'skip' is wrong. 'OP_skip' is correct.

Thanks for spotting this. Fixed on trunk now
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic