diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-27 22:11:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-27 22:11:51 +0200 |
commit | e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3 (patch) | |
tree | df2a297c5cb4cdd1e16363e9491148b5b035674f /src/mysign | |
parent | 28b238225ae618f63cfe5d3d723120960a941da7 (diff) | |
download | vim-e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3.zip |
patch 8.0.0685: when conversion fails written file may be truncated
Problem: When making backups is disabled and conversion with iconv fails
the written file is truncated. (Luo Chen)
Solution: First try converting the file and write the file only when it did
not fail. (partly by Christian Brabandt)
Diffstat (limited to 'src/mysign')
0 files changed, 0 insertions, 0 deletions