summaryrefslogtreecommitdiff
path: root/libexec/ftpd/popen.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 16:08:52 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 16:08:52 +0000
commit46589cb6249a72ec1bf3873be9b5d1f18e5cd3fd (patch)
tree72b664c9d7dd8b8d7c68d8d268be117a6ac11ef5 /libexec/ftpd/popen.c
parent29030694621b0e2000f5a6ad1bf266a3a4bc3444 (diff)
Notes
Diffstat (limited to 'libexec/ftpd/popen.c')
-rw-r--r--libexec/ftpd/popen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index 4996c257ee2c..d8b91cdfa686 100644
--- a/libexec/ftpd/popen.c
+++ b/libexec/ftpd/popen.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)popen.c 8.3 (Berkeley) 4/6/94";
#endif
static const char rcsid[] =
- "$Id: popen.c,v 1.10 1998/02/25 07:10:57 danny Exp $";
+ "$Id: popen.c,v 1.11 1998/04/27 10:51:26 dg Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -145,6 +145,8 @@ ftpd_popen(program, type)
}
(void)close(pdes[1]);
}
+ /* since FTP protocol have no way to tell zone offset */
+ setenv("TZ", "", 1);
#ifdef INTERNAL_LS
if (strcmp(gargv[0], _PATH_LS) == 0) {
extern int optreset;