comparison src/os_vms.c @ 18761:e3785af3ba0f v8.1.2370

patch 8.1.2370: build problems on VMS Commit: https://github.com/vim/vim/commit/0c5c3faef2d54151a8c144539e3e5a3350fb18c7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 22:38:16 2019 +0100 patch 8.1.2370: build problems on VMS Problem: Build problems on VMS. Solution: Adjust the build file. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 22:45:04 +0100
parents ce04ebdf26b8
children 1130f8309f67
comparison
equal deleted inserted replaced
18760:fa208f8423ad 18761:e3785af3ba0f
380 380
381 /* accept all DECC$K_FILE and DECC$K_DIRECTORY */ 381 /* accept all DECC$K_FILE and DECC$K_DIRECTORY */
382 if (vms_match_num == 0) { 382 if (vms_match_num == 0) {
383 /* first time through, setup some things */ 383 /* first time through, setup some things */
384 if (NULL == vms_fmatch) { 384 if (NULL == vms_fmatch) {
385 vms_fmatch = ALLOC_MULT(char *, EXPL_ALLOC_INC); 385 vms_fmatch = ALLOC_MULT(char_u *, EXPL_ALLOC_INC);
386 if (!vms_fmatch) 386 if (!vms_fmatch)
387 return 0; 387 return 0;
388 vms_match_alloced = EXPL_ALLOC_INC; 388 vms_match_alloced = EXPL_ALLOC_INC;
389 vms_match_free = EXPL_ALLOC_INC; 389 vms_match_free = EXPL_ALLOC_INC;
390 } 390 }
441 int files_alloced, files_free; 441 int files_alloced, files_free;
442 442
443 *num_file = 0; /* default: no files found */ 443 *num_file = 0; /* default: no files found */
444 files_alloced = EXPL_ALLOC_INC; 444 files_alloced = EXPL_ALLOC_INC;
445 files_free = EXPL_ALLOC_INC; 445 files_free = EXPL_ALLOC_INC;
446 *file = ALLOC_MULT(char_u **, files_alloced); 446 *file = ALLOC_MULT(char_u *, files_alloced);
447 if (*file == NULL) 447 if (*file == NULL)
448 { 448 {
449 *num_file = 0; 449 *num_file = 0;
450 return FAIL; 450 return FAIL;
451 } 451 }