aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-01-01 01:10:26 +0800
committerdemon <demon@FreeBSD.org>2001-01-01 01:10:26 +0800
commit6a94a73fa6860e9791dac7f3a2ca815b957d30a1 (patch)
tree58c55a259a76253f39ca8df5726a7177426d8512 /x11-wm
parent2795690665141d1981a9c1da4e934565e5da7969 (diff)
downloadfreebsd-ports-gnome-6a94a73fa6860e9791dac7f3a2ca815b957d30a1.tar.gz
freebsd-ports-gnome-6a94a73fa6860e9791dac7f3a2ca815b957d30a1.tar.zst
freebsd-ports-gnome-6a94a73fa6860e9791dac7f3a2ca815b957d30a1.zip
Use mkstemp(3) instead of tmpnam(3).
Submitted by: Volker Stolz <stolz@I2.Informatik.RWTH-Aachen.DE>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/afterstep-stable/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/afterstep-stable/files/patch-ac b/x11-wm/afterstep-stable/files/patch-ac
new file mode 100644
index 000000000000..b8f36696e878
--- /dev/null
+++ b/x11-wm/afterstep-stable/files/patch-ac
@@ -0,0 +1,11 @@
+--- src/afterstep/configure.c.orig Fri Oct 20 05:27:57 2000
++++ src/afterstep/configure.c Sun Dec 31 13:55:16 2000
+@@ -2201,7 +2201,7 @@
+
+ sprintf (errMsg, "ReadPipeConfig (%d)", semaCounter);
+
+- if (tmpnam (tmpFileName) == NULL)
++ if (mkstemp (tmpFileName) == NULL)
+ {
+ afterstep_err (errMsg, "cannot tmpnam", NULL, NULL);
+ semaCounter--;