]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(copy, copy_with_block, copy_with_block): Decrement pending_spaces only
authorJim Meyering <jim@meyering.net>
Wed, 24 Mar 1993 06:22:57 +0000 (06:22 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 24 Mar 1993 06:22:57 +0000 (06:22 +0000)
commit82bdb546d9a76094f1c40413fa2bd56cbbd93eaa
treef2a9b75f85ba371bc0162ace7214feddf63f8a3d
parent38456f092f5a5200a20d234c671f72f0a909a5d3
(copy, copy_with_block, copy_with_block): Decrement pending_spaces only
if it's > 0. The following command didn't terminate:
  perl -e 'print "a  a\n";'| dd of=/dev/null ibs=1 cbs=3 conv=unblock
With suggestions from Chris Weber <weber@bucknell.edu>,
Marlys.A.Nelson@uwrf.edu, and Albert-Lunde@nwu.edu.
src/dd.c