diff options
author | ache <ache@FreeBSD.org> | 1998-05-16 21:23:33 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-05-16 21:23:33 +0000 |
commit | 649e775fd207a5ce5d5a5df16c6b360cc74b6817 (patch) | |
tree | 5b8a2298ffbbdb5d49f1b6b19da1b3327d879cc1 /libexec/ftpd/ftpd.c | |
parent | 949dcf30df1d0553ddf55a3bbccfcce8f9f010dd (diff) | |
download | FreeBSD-src-649e775fd207a5ce5d5a5df16c6b360cc74b6817.zip FreeBSD-src-649e775fd207a5ce5d5a5df16c6b360cc74b6817.tar.gz |
Return back initial tzset() must be before first chroot
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r-- | libexec/ftpd/ftpd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 41713e4..7dd55dd 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.47 1998/05/15 15:06:58 ache Exp $"; + "$Id: ftpd.c,v 1.46 1998/04/28 03:37:23 dg Exp $"; #endif /* not lint */ /* @@ -273,6 +273,8 @@ main(argc, argv, envp) char *cp, line[LINE_MAX]; FILE *fd; + tzset(); /* in case no timezone database in ~ftp */ + #ifdef OLD_SETPROCTITLE /* * Save start and extent of argv for setproctitle. |