aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wu-ftpd+ipv6
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-05-16 01:03:38 +0800
committerache <ache@FreeBSD.org>1998-05-16 01:03:38 +0800
commitb6a26b848683d2d62d8def4d40e3345b6eee44af (patch)
tree11a3c4dc80879766f5d73e69d37e03023ba7c520 /ftp/wu-ftpd+ipv6
parent530f9ea6d346c5773334f2358073765da881d3a4 (diff)
downloadfreebsd-ports-gnome-b6a26b848683d2d62d8def4d40e3345b6eee44af.tar.gz
freebsd-ports-gnome-b6a26b848683d2d62d8def4d40e3345b6eee44af.tar.zst
freebsd-ports-gnome-b6a26b848683d2d62d8def4d40e3345b6eee44af.zip
Run /bin/ls always with TZ=
Diffstat (limited to 'ftp/wu-ftpd+ipv6')
-rw-r--r--ftp/wu-ftpd+ipv6/files/patch-ad29
1 files changed, 29 insertions, 0 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-ad b/ftp/wu-ftpd+ipv6/files/patch-ad
new file mode 100644
index 000000000000..a6cecf1bfc16
--- /dev/null
+++ b/ftp/wu-ftpd+ipv6/files/patch-ad
@@ -0,0 +1,29 @@
+*** src/popen.c.bak Fri Sep 12 06:09:30 1997
+--- src/popen.c Fri May 15 21:01:29 1998
+***************
+*** 87,92 ****
+--- 87,93 ----
+ *strspl(),
+ #endif
+ *globerr;
++ static char *envtz[2] = {"TZ=", NULL};
+ #ifdef HAVE_GETRLIMIT
+ struct rlimit rlp;
+
+***************
+*** 178,184 ****
+ setuid(i);
+ enable_signaling(); /* we can allow signals once again: kinch */
+ /* end CERT suggested fixes */
+! execv(gargv[0], gargv);
+ _exit(1);
+ }
+ /* parent; assume fdopen can't fail... */
+--- 179,185 ----
+ setuid(i);
+ enable_signaling(); /* we can allow signals once again: kinch */
+ /* end CERT suggested fixes */
+! execve(gargv[0], gargv, envtz);
+ _exit(1);
+ }
+ /* parent; assume fdopen can't fail... */