Mercurial > vim
comparison src/uninstal.c @ 15892:e43b5e6d9190 v8.1.0952
patch 8.1.0952: compilation warnings when building the MS-Windows installer
commit https://github.com/vim/vim/commit/bbd854dc57e82937eb7b95af220a2f137ded64f8
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 18 22:19:33 2019 +0100
patch 8.1.0952: compilation warnings when building the MS-Windows installer
Problem: Compilation warnings when building the MS-Windows installer.
Solution: Fix buffer sizes. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/3999)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 18 Feb 2019 22:30:06 +0100 |
parents | aca41efd888c |
children | b9098585d945 |
comparison
equal
deleted
inserted
replaced
15891:57db11959a14 | 15892:e43b5e6d9190 |
---|---|
319 int found = 0; | 319 int found = 0; |
320 FILE *fd; | 320 FILE *fd; |
321 int i; | 321 int i; |
322 struct stat st; | 322 struct stat st; |
323 char icon[BUFSIZE]; | 323 char icon[BUFSIZE]; |
324 char path[BUFSIZE]; | 324 char path[MAX_PATH]; |
325 char popup_path[BUFSIZE]; | 325 char popup_path[MAX_PATH]; |
326 | 326 |
327 /* The nsis uninstaller calls us with a "-nsis" argument. */ | 327 /* The nsis uninstaller calls us with a "-nsis" argument. */ |
328 if (argc == 2 && stricmp(argv[1], "-nsis") == 0) | 328 if (argc == 2 && stricmp(argv[1], "-nsis") == 0) |
329 interactive = FALSE; | 329 interactive = FALSE; |
330 else | 330 else |