b5143bc7b7
be fixed before.
13 lines
340 B
Plaintext
13 lines
340 B
Plaintext
$OpenBSD: patch-unixpk_c,v 1.3 2005/10/06 21:09:22 aanriot Exp $
|
|
--- unixpk.c.orig Thu Feb 16 22:39:50 1995
|
|
+++ unixpk.c Mon Aug 5 12:30:30 2002
|
|
@@ -165,7 +165,7 @@ char **argv;
|
|
strcpy(fnamebuf, "/tmp");
|
|
}
|
|
strcat(fnamebuf, "/mpackXXXXXX");
|
|
- mktemp(fnamebuf);
|
|
+ close(mkstemp(fnamebuf));
|
|
outfname = strsave(fnamebuf);
|
|
}
|
|
|