Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/dd



Module Name:    src
Committed By:   dsainty
Date:           Sat Nov 15 12:44:54 UTC 2003

Modified Files:
        src/bin/dd: dd.c

Log Message:
Avoid corrupting the dd(1) IO streams.  This would happen by accidentally
outputting to the files being manipulated by opening a file in the standard IO
descriptor space.  In particular, an output file unlucky enough to be sitting
on descriptor 2 (stderr) is certain to be corrupted.

Addresses PR bin/8521, and passes the recently committed regression test
"bin/dd".


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/bin/dd/dd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index