]> granicus.if.org Git - vim/commit
patch 8.2.2793: MS-Windows: string literals are writable with MSVC v8.2.2793
authorBram Moolenaar <Bram@vim.org>
Wed, 21 Apr 2021 09:30:48 +0000 (11:30 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 21 Apr 2021 09:30:48 +0000 (11:30 +0200)
commitd23f8bde5cd16b7752cc4a73da106673839ed824
treeaffc4e5f941e4eed6805b84d5e0ade6349388c08
parent9ce47ec0b65f81358febacbd9b808ac8ef7af85c
patch 8.2.2793: MS-Windows: string literals are writable with MSVC

Problem:    MS-Windows: string literals are writable with MSVC.
Solution:   Add the /GF compiler flag.  Make mch_write() safer. (Ken Takata,
            closes #8133)
src/Make_mvc.mak
src/os_win32.c
src/version.c