blob: 4a04cbd5bc95cbb2d34f5e20b0a9fc46ef2ea428 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ae,v 1.3 2002/09/02 16:56:58 wiz Exp $
--- src/types.c.orig Sun Aug 25 12:46:47 2002
+++ src/types.c
@@ -352,7 +352,7 @@ void typ_identify_end(MainInfo *min, con
if(file_list == NULL)
return;
- if((temp_name = tmpnam(NULL)) == NULL)
+ if((temp_name = mkdtemp(NULL)) == NULL)
return;
if(pipe(fd) != 0)
return;
|