9ae487eb93
- use distrib subdir so we don't clutter up the main distfiles dir with all the vim patches
21 lines
555 B
Plaintext
21 lines
555 B
Plaintext
--- fileio.c.orig Wed Sep 1 10:43:22 1999
|
|
+++ fileio.c Wed Sep 1 10:43:23 1999
|
|
@@ -3004,7 +3004,7 @@
|
|
STRCAT(itmp, TEMPNAME);
|
|
if ((p = vim_strchr(itmp, '?')) != NULL)
|
|
*p = extra_char;
|
|
- if (mktemp((char *)itmp) == NULL)
|
|
+ if (mkstemp((char *)itmp) == NULL)
|
|
continue;
|
|
return vim_strsave(itmp);
|
|
}
|
|
@@ -3042,7 +3042,7 @@
|
|
STRCPY(itmp, TEMPNAME);
|
|
if ((p = vim_strchr(itmp, '?')) != NULL)
|
|
*p = extra_char;
|
|
- if (mktemp((char *)itmp) == NULL)
|
|
+ if (mkstemp((char *)itmp) == NULL)
|
|
# endif
|
|
# endif
|
|
# endif
|