On 12/16/2014 09:15 AM, Bernhard Voelker wrote: > On 12/16/2014 08:46 AM, Paul Eggert wrote: >> - invalid |= ! (0 < n && n <= MAX_BLOCKSIZE >> (OUTPUT_BLOCK_SLOP)); >> + n_min = 1; >> + n_max = MAX_BLOCKSIZE (INPUT_BLOCK_SLOP); > > s/IN/OUT/
ah sorry, while my above comment is right, forget about this: > $ src/dd obs=1M count=1 if=/dev/zero of=x > 1+0 records in > 0+1 records out > 512 bytes (512 B) copied, 0.000424504 s, 1.2 MB/s > > $ ls -ldog x > -rw-r--r-- 1 512 Dec 16 09:11 x > > Interestingly, the tests didn't catch this obs=... error. The output file's size is still correct, of course. Sorry for the noise. Have a nice day, Berny