diff options
Diffstat (limited to 'dev-util/yacc/files/mkstemp.patch')
-rw-r--r-- | dev-util/yacc/files/mkstemp.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/yacc/files/mkstemp.patch b/dev-util/yacc/files/mkstemp.patch new file mode 100644 index 000000000000..f037e331fb5b --- /dev/null +++ b/dev-util/yacc/files/mkstemp.patch @@ -0,0 +1,15 @@ +--- main.c.orig 2002-12-17 14:28:54.000000000 -0500 ++++ 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); + |