comparison src/fileio.c @ 344:7033303ea0c0 v7.0089

updated for version 7.0089
author vimboss
date Tue, 21 Jun 2005 22:37:39 +0000
parents 33c6fb10dd66
children 644578c9e219
comparison
equal deleted inserted replaced
343:607cff4bc0cb 344:7033303ea0c0
3181 char_u *copybuf, *wp; 3181 char_u *copybuf, *wp;
3182 int some_error = FALSE; 3182 int some_error = FALSE;
3183 struct stat st_new; 3183 struct stat st_new;
3184 char_u *dirp; 3184 char_u *dirp;
3185 char_u *rootname; 3185 char_u *rootname;
3186 #ifndef SHORT_FNAME 3186 #if defined(UNIX) && !defined(SHORT_FNAME)
3187 int did_set_shortname; 3187 int did_set_shortname;
3188 #endif 3188 #endif
3189 3189
3190 copybuf = alloc(BUFSIZE + 1); 3190 copybuf = alloc(BUFSIZE + 1);
3191 if (copybuf == NULL) 3191 if (copybuf == NULL)
3224 { 3224 {
3225 some_error = TRUE; /* out of memory */ 3225 some_error = TRUE; /* out of memory */
3226 goto nobackup; 3226 goto nobackup;
3227 } 3227 }
3228 3228
3229 #ifndef SHORT_FNAME 3229 #if defined(UNIX) && !defined(SHORT_FNAME)
3230 did_set_shortname = FALSE; 3230 did_set_shortname = FALSE;
3231 #endif 3231 #endif
3232 3232
3233 /* 3233 /*
3234 * May try twice if 'shortname' not set. 3234 * May try twice if 'shortname' not set.