dd bug fix: accept e.g., if=/dev/stdin and of=/dev/stdout
commite373bb193357481573913ccf28dc14675f172d5a
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 31 Mar 2008 06:37:36 +0000 (31 08:37 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 31 Mar 2008 06:37:58 +0000 (31 08:37 +0200)
tree56d968f7d410e20a1afb4811d71e3bb631fe8f81
parent72e962c97e30fa8a9146d90fa36098137ce0ee0f
dd bug fix: accept e.g., if=/dev/stdin and of=/dev/stdout

* lib/fd-reopen.c: Work even if FILE is "/dev/stdin".
Problem reported by Geoffrey Lee in <http://bugs.debian.org/290727>.
* tests/dd/misc: Check for this bug.
lib/fd-reopen.c
tests/dd/misc