summaryrefslogtreecommitdiff
path: root/x11/openmotif/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'x11/openmotif/patches/patch-al')
-rw-r--r--x11/openmotif/patches/patch-al13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/openmotif/patches/patch-al b/x11/openmotif/patches/patch-al
new file mode 100644
index 00000000000..fab476ac7dd
--- /dev/null
+++ b/x11/openmotif/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2001/04/05 14:06:58 wiz Exp $
+
+--- tests/Performance/Startup/editor.c.orig Wed May 3 05:12:48 2000
++++ tests/Performance/Startup/editor.c Wed Aug 9 19:29:43 2000
+@@ -238,7 +238,7 @@
+
+ strcpy(tempname, "/tmp/xmeditXXXXXX");
+
+- if ((tfp = fopen(mktemp(tempname), "w")) == NULL) {
++ if ((tfp = mkstemp(tempname)) == NULL) {
+ fprintf(stderr, "Warning: unable to open temp file, text not saved.\n");
+ return(False);;
+ }