summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-27 22:11:51 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-27 22:11:51 +0200
commite6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3 (patch)
treedf2a297c5cb4cdd1e16363e9491148b5b035674f /src/misc2.c
parent28b238225ae618f63cfe5d3d723120960a941da7 (diff)
downloadvim-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/misc2.c')
0 files changed, 0 insertions, 0 deletions