perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Tikhonov <dmi...@netilla.com>
Subject Re: [mp2] Apache::Reload and touch files.
Date Wed, 07 May 2003 23:57:50 GMT

This is a patch against Apache::Reload from 1.99_08:

--- Apache/Reload.pm.orig       Wed May  7 19:49:21 2003
+++ Apache/Reload.pm    Wed May  7 19:49:24 2003
@@ -62,7 +62,7 @@
         $TouchTime = $touch_mtime;
         my $sym = Apache->gensym;
         open($sym, $TouchFile) || die "Can't open '$TouchFile': $!";
-        $TouchModules = <$sym>;
+        $TouchModules = (<$sym> || '');
         chomp $TouchModules;
     }


  - Dmitri.

On Thu, 8 May 2003, Stas Bekman wrote:

> Dmitri Tikhonov wrote:
>
> >>In any case, it's a pure perl code, so you should be able to easily debug it
> >>and send a fixing patch if it's really the problem.
> >
> >
> > This does the trick:
> >
> >     $TouchModules = (<$sym> || '');
>
> Can you please send a diff? I can't guess where this code should go to. Thanks.
>
>
>
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message