aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert2015-05-29 22:55:25 -0700
committerPaul Eggert2015-05-29 23:02:38 -0700
commit2c3dde9fc8b3ac33cc2e5071e05772f3f46d62ad (patch)
tree1746f39feb7c26a4f23468a018294620b1b1cea7 /src/coding.c
parent56af96e54ee2402a07105fe60a5d6c34d697229d (diff)
downloademacs-2c3dde9fc8b3ac33cc2e5071e05772f3f46d62ad.tar.gz
emacs-2c3dde9fc8b3ac33cc2e5071e05772f3f46d62ad.zip
copy-file now truncates output after writing
* src/fileio.c (Fcopy_file): Truncate output after writing rather than before. This is more likely to work than truncation before writing, if the file system is out of space or the user is over disk quota (Bug#20595). Also, check for read errors.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions