1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2021-04-21 11:30:48 +02:00
parent 9ce47ec0b6
commit d23f8bde5c
3 changed files with 9 additions and 6 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2793,
/**/
2792,
/**/