13 lines
363 B
Plaintext
Raw Normal View History

2005-10-06 20:46:02 +00:00
$OpenBSD: patch-unixpk_c,v 1.2 2005/10/06 20:46:02 aanriot Exp $
--- unixpk.c.orig Mon Jul 21 22:50:41 2003
+++ unixpk.c Mon Oct 3 16:26:38 2005
@@ -167,7 +167,7 @@ int main(int argc, char **argv)
strcpy(fnamebuf, "/usr/tmp");
}
strcat(fnamebuf, "/mpackXXXXXX");
- mktemp(fnamebuf);
+ close(mkstemp(fnamebuf));
outfname = strsave(fnamebuf);
}