]> granicus.if.org Git - vim/commit
patch 8.2.2450: MS-Windows: ADS was not preserved if 'backupcopy' is "yes" v8.2.2450
authorBram Moolenaar <Bram@vim.org>
Mon, 1 Feb 2021 19:35:01 +0000 (20:35 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 1 Feb 2021 19:35:01 +0000 (20:35 +0100)
commit7781ebe50f6d4daba02be3bd7e6ca08cd459674b
tree2e6ed785ad9f60b56516964ae8e2afce56249ea3
parent3b690069730805a147d45d92eaca4dc838272d1d
patch 8.2.2450: MS-Windows: ADS was not preserved if 'backupcopy' is "yes"

Problem:    MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
Solution:   Copy ADS before truncating the file. (Ken Takata, closes #7762)
src/bufwrite.c
src/version.c