diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-05-15 17:03:38 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-05-15 17:03:38 +0000 |
commit | f107421395310517a1842da5787bf3e4c1989720 (patch) | |
tree | f0843bcb523957c4f28f64dff3a8d3e694755bcd | |
parent | 1. Removed spurious (but commented-out) MAN6 entry -- though this does (diff) |
Run /bin/ls always with TZ=
Notes
Notes:
svn path=/head/; revision=10998
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-ad | 29 | ||||
-rw-r--r-- | ftp/wu-ftpd/files/patch-ad | 29 |
2 files changed, 58 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... */ diff --git a/ftp/wu-ftpd/files/patch-ad b/ftp/wu-ftpd/files/patch-ad new file mode 100644 index 000000000000..a6cecf1bfc16 --- /dev/null +++ b/ftp/wu-ftpd/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... */ |