Mercurial > vim
comparison src/version.c @ 24506:cf773d752eb9 v8.2.2793
patch 8.2.2793: MS-Windows: string literals are writable with MSVC
Commit: https://github.com/vim/vim/commit/d23f8bde5cd16b7752cc4a73da106673839ed824
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 21 11:30:48 2021 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Apr 2021 11:45:04 +0200 |
parents | e7577f79d6eb |
children | 09bfa6e3859c |
comparison
equal
deleted
inserted
replaced
24505:b68e47dd5919 | 24506:cf773d752eb9 |
---|---|
748 NULL | 748 NULL |
749 }; | 749 }; |
750 | 750 |
751 static int included_patches[] = | 751 static int included_patches[] = |
752 { /* Add new patch number below this line */ | 752 { /* Add new patch number below this line */ |
753 /**/ | |
754 2793, | |
753 /**/ | 755 /**/ |
754 2792, | 756 2792, |
755 /**/ | 757 /**/ |
756 2791, | 758 2791, |
757 /**/ | 759 /**/ |