0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.1.0023: gcc 8.1 warns for use of strncpy()

Problem:    gcc 8.1 warns for use of strncpy(). (John Marriott)
Solution:   Use mch_memmove() instead of STRNCPY().
This commit is contained in:
Bram Moolenaar
2018-05-26 17:35:27 +02:00
parent 833093bfb0
commit 22c105640c
2 changed files with 3 additions and 1 deletions

View File

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