Check, complain about and accumulate errors when writing reject files
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 10 Aug 2008 23:35:40 +0000 (23:35 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 10 Aug 2008 23:35:40 +0000 (23:35 +0000)
commit32fe83a85a9b44c3b1f6a82367caa5368e99af5d
treebd539bff51b62bb58798aaae816a4bf441e2f079
parentc30fd56d214a2d2bae562ca87776bc26df22beb3
Check, complain about and accumulate errors when writing reject files
or final output. This can happen for example if the filesystem is full
and silent truncation of output files is the worst way to handle this.
usr.bin/patch/patch.c
usr.bin/patch/pch.c