Great Circle Associates Majordomo-Workers
(April 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: next... :)
From: Bryan Fullerton <bryanf @ samurai . com>
Date: Wed, 29 Apr 1998 20:12:20 -0400
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>, majordomo-workers @ GreatCircle . COM
In-reply-to: <ufayawocjil.fsf@sina.hpc.uh.edu>; from Jason L Tibbitts III on Wed, Apr 29, 1998 at 06:09:38PM -0500
References: <19980429183828.Y28454@samurai.com> <ufayawocjil.fsf@sina.hpc.uh.edu>

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:
Indexed By Date Previous: Re: Majordomo2-alpha1 install problem
From: Bryan Fullerton <bryanf@samurai.com>
Next: Re: next... :)
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: next... :)
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: next... :)
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com