Mercurial > vim
comparison src/misc1.c @ 838:8e5830943bff v7.0e04
updated for version 7.0e04
author | vimboss |
---|---|
date | Thu, 20 Apr 2006 22:17:20 +0000 |
parents | 8bebcabccc2c |
children | 2c885fab04e3 |
comparison
equal
deleted
inserted
replaced
837:6bb1fa855dc9 | 838:8e5830943bff |
---|---|
3623 | 3623 |
3624 ExpandInit(&xpc); | 3624 ExpandInit(&xpc); |
3625 xpc.xp_context = EXPAND_FILES; | 3625 xpc.xp_context = EXPAND_FILES; |
3626 var = ExpandOne(&xpc, dst, NULL, | 3626 var = ExpandOne(&xpc, dst, NULL, |
3627 WILD_ADD_SLASH|WILD_SILENT, WILD_EXPAND_FREE); | 3627 WILD_ADD_SLASH|WILD_SILENT, WILD_EXPAND_FREE); |
3628 ExpandCleanup(&xpc); | |
3629 mustfree = TRUE; | 3628 mustfree = TRUE; |
3630 } | 3629 } |
3631 | 3630 |
3632 # else /* !UNIX, thus VMS */ | 3631 # else /* !UNIX, thus VMS */ |
3633 /* | 3632 /* |
9361 void | 9360 void |
9362 FreeWild(count, files) | 9361 FreeWild(count, files) |
9363 int count; | 9362 int count; |
9364 char_u **files; | 9363 char_u **files; |
9365 { | 9364 { |
9366 if (files == NULL || count <= 0) | 9365 if (count <= 0 || files == NULL) |
9367 return; | 9366 return; |
9368 #if defined(__EMX__) && defined(__ALWAYS_HAS_TRAILING_NULL_POINTER) /* XXX */ | 9367 #if defined(__EMX__) && defined(__ALWAYS_HAS_TRAILING_NULL_POINTER) /* XXX */ |
9369 /* | 9368 /* |
9370 * Is this still OK for when other functions than expand_wildcards() have | 9369 * Is this still OK for when other functions than expand_wildcards() have |
9371 * been used??? | 9370 * been used??? |