openbsd-ports/editors/vim/patches/patch-ac
brad 9ae487eb93 - add all *49* distrib patches
- use distrib subdir so we don't clutter up the main distfiles dir with all the vim patches
1999-09-01 16:56:35 +00:00

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