netftpserver-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Net::FTPServer] Re: Net::FTPServer chroot/TZ conflict.


From: Richard Jones
Subject: [Net::FTPServer] Re: Net::FTPServer chroot/TZ conflict.
Date: Sat, 27 Dec 2003 13:22:31 +0000
User-agent: Mutt/1.5.4i

On Fri, Dec 26, 2003 at 01:45:02PM -0600, John Jetmore wrote:
> *** FTPServer.pm        Mon Dec 22 14:54:20 2003
> --- FTPServer.pm.new    Fri Dec 26 13:43:04 2003
> ***************
> *** 4543,4548 ****
> --- 4543,4549 ----
>       $ENV{TZ} = defined $self->config ("time zone")
>         ? $self->config ("time zone")
>         : "GMT";
> +     scalar(localtime(time));
> 
>       # Open /etc/protocols etc., in case we chroot. And yes, doing the
>       # setprotoent _twice_ is necessary to work around a bug in Perl or

Thanks for the patch.  I'll put it in there.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
Perl4Caml lets you use any Perl library in your type-safe Objective
CAML programs. http://www.merjis.com/developers/perl4caml/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]