On Wed, Apr 29, 1998 at 06:09:38PM -0500, Jason L Tibbitts III <tibbs@hpc.uh.edu> wrote:
> You're essentially correct; the problem is that the Mj::Config::lock
> implicitly loads/reloads the file if necessary, but neglects to note that
> it has loaded the file.
[...]
>
> Try this (yes, one stupid line):
>
> Index: lib/Mj/Config.pm
> diff -u -r1.5 Config.pm
> --- Config.pm 1998/04/12 07:35:51 1.5
> +++ Config.pm 1998/04/29 23:04:52
> @@ -721,6 +721,7 @@
> if ($self->{mtime} < (stat($name))[9]) {
> delete $self->{data};
> $self->{data} = do $name;
> + $self->{loaded} = 1;
> }
>
> # Note that we are locked
Applied the patch, but it's still hanging, in exactly the same way.
I confirmed that the patch did apply correctly - the line is definately
in there, it just doesn't seem to do everything needed to fix the problem.
Any other ideas?
> Good catch, BTW.
Thanks. :)
Bryan
--
bryanf@samurai.com Home "You know, sometimes I just want to
bryanf@canoe.ca Work be a chicken." - Master FehHead
bryanf@icomm.ca http://www.icomm.ca
Follow-Ups:
References:
|
|