dd seek=N now conforms to POSIX if the output isn't seekable.

This commit is contained in:
Paul Eggert 2005-05-28 04:22:43 +00:00
parent 8f10bd11cf
commit 5923469a3c

4
NEWS
View File

@ -63,6 +63,10 @@ GNU coreutils NEWS -*- outline -*-
On hosts lacking the INFO signal, dd no longer treats the USR1 On hosts lacking the INFO signal, dd no longer treats the USR1
signal as if it were INFO when POSIXLY_CORRECT is set. signal as if it were INFO when POSIXLY_CORRECT is set.
If the file F is non-seekable and contains fewer than N blocks,
then before copying "dd seek=N of=F" now extends F with zeroed
blocks until F contains N blocks.
fold changes: fold changes:
When POSIXLY_CORRECT is set, "fold file -3" is now equivalent to When POSIXLY_CORRECT is set, "fold file -3" is now equivalent to