Source-Changes archive

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

CVS commit: src/usr.bin/patch



Module Name:    src
Committed By:   gdt
Date:           Sun Aug 10 22:36:23 UTC 2008

Modified Files:
        src/usr.bin/patch: patch.c

Log Message:
Add error checking to use of fputs in creating output file in
temprorary directory.  Previously, fputs was used without checking the
return value, leading to silent truncation when the temporary
filesystem was full (such as can easily happen when migrating to
tmpfs).


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/usr.bin/patch/patch.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