openbsd-ports/archivers/arc/patches/patch-ac
1997-12-29 23:37:40 +00:00

21 lines
536 B
Plaintext

--- marc.c.orig Tue Apr 14 18:59:21 1992
+++ marc.c Mon Dec 29 07:12:33 1997
@@ -50,7 +50,7 @@
char *makefnam(); /* filename fixup routine */
char *envfind();
#if !_MTS
- char *arctemp2, *mktemp(); /* temp file stuff */
+ char *arctemp2, *mkstemp(); /* temp file stuff */
#endif
#if GEMDOS
VOID exitpause();
@@ -115,7 +115,7 @@
#if !MSDOS
{
static char tempname[] = "AXXXXXX";
- strcat(arctemp, mktemp(tempname));
+ strcat(arctemp, mkstemp(tempname));
}
#else
strcat(arctemp, "$ARCTEMP");