aboutsummaryrefslogtreecommitdiffstats
path: root/security/tripwire-131/files/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'security/tripwire-131/files/patch-ba')
-rw-r--r--security/tripwire-131/files/patch-ba21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/tripwire-131/files/patch-ba b/security/tripwire-131/files/patch-ba
new file mode 100644
index 000000000000..1148d21c0890
--- /dev/null
+++ b/security/tripwire-131/files/patch-ba
@@ -0,0 +1,21 @@
+--- src/config.parse.c.orig Tue Jun 13 23:24:14 2000
++++ src/config.parse.c Tue Jun 13 23:30:35 2000
+@@ -55,7 +55,6 @@
+ #endif
+
+ /* prototypes */
+-char *mktemp();
+ static void configfile_descend();
+
+ #ifndef L_tmpnam
+@@ -105,8 +104,8 @@
+ };
+ (void) strcpy(tmpfilename, TEMPFILE_TEMPLATE);
+
+- if ((char *) mktemp(tmpfilename) == NULL) {
+- perror("configfile_read: mktemp()");
++ if (mkstemp(tmpfilename) == -1) {
++ perror("configfile_read: mkstemp()");
+ exit(1);
+ }
+