aboutsummaryrefslogtreecommitdiffstats
path: root/security/tripwire-131/files/patch-bd
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2000-07-06 14:15:53 +0000
committerSADA Kenji <sada@FreeBSD.org>2000-07-06 14:15:53 +0000
commitcf2c8ec84737a1bc1efb5f13e23c06767bc9f181 (patch)
tree9f07aaf20f8fdbb342ed19a80ac5b5362eabec25 /security/tripwire-131/files/patch-bd
parent42cae078234ffc362c2c8b67b56a0a9311a8e45f (diff)
Upgrade to 1.3.1, beta version.
PR: 18964 Submitted by: Cy Schubert <Cy.Schubert@uumail.gov.bc.ca>
Diffstat (limited to 'security/tripwire-131/files/patch-bd')
-rw-r--r--security/tripwire-131/files/patch-bd13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/tripwire-131/files/patch-bd b/security/tripwire-131/files/patch-bd
new file mode 100644
index 000000000000..3b025e3b07ce
--- /dev/null
+++ b/security/tripwire-131/files/patch-bd
@@ -0,0 +1,13 @@
+--- src/utils.c.orig Tue Jun 13 23:43:01 2000
++++ src/utils.c Tue Jun 13 23:43:50 2000
+@@ -856,8 +856,8 @@
+ int fd;
+
+ (void) strcpy(tmp, TEMPFILE_TEMPLATE);
+- if ((char *) mktemp(tmp) == NULL) {
+- perror("tempfilename_generate: mktemp()");
++ if (mkstemp(tmp) == -1) {
++ perror("tempfilename_generate: mkstemp()");
+ exit(1);
+ }
+