summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-05-15 16:08:52 +0000
committerache <ache@FreeBSD.org>1998-05-15 16:08:52 +0000
commit89d157849226c8b3496238c8e116bd0060e69234 (patch)
treec4b2d3107f981c37d7a0a58af24a912790e5c98b /libexec/ftpd/ftpd.c
parent9ab1a03565092c91cb96689a923dbd1865fa9bc3 (diff)
downloadFreeBSD-src-89d157849226c8b3496238c8e116bd0060e69234.zip
FreeBSD-src-89d157849226c8b3496238c8e116bd0060e69234.tar.gz
Move TZ="" assignment just before exec to not touch other time stuff
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 9e3b40d..41713e4 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -44,7 +44,7 @@ static char copyright[] =
static char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#endif
static const char rcsid[] =
- "$Id: ftpd.c,v 1.46 1998/04/28 03:37:23 dg Exp $";
+ "$Id: ftpd.c,v 1.47 1998/05/15 15:06:58 ache Exp $";
#endif /* not lint */
/*
@@ -273,9 +273,6 @@ main(argc, argv, envp)
char *cp, line[LINE_MAX];
FILE *fd;
- setenv("TZ", "", 1); /* since protocol have no way to tell offset */
- tzset();
-
#ifdef OLD_SETPROCTITLE
/*
* Save start and extent of argv for setproctitle.
OpenPOWER on IntegriCloud