summaryrefslogtreecommitdiff
path: root/dev-util/yacc/files/yacc-1.9.1-mkstemp.patch
blob: 5c72a6e9bc142f5498417e5198c0e925d2e75a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/main.c.orig	2002-12-17 14:28:54.000000000 -0500
+++ b/main.c	2002-12-17 14:29:31.000000000 -0500
@@ -264,9 +264,9 @@
     text_file_name[len + 5] = 't';
     union_file_name[len + 5] = 'u';
 
-    mktemp(action_file_name);
-    mktemp(text_file_name);
-    mktemp(union_file_name);
+    mkstemp(action_file_name);
+    mkstemp(text_file_name);
+    mkstemp(union_file_name);
 
     len = strlen(file_prefix);