Great Circle Associates Majordomo-Workers
(November 1996)
 

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

Subject: Re: Majordomo v1.94: problem with shlock.pl
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Tue, 26 Nov 1996 13:30:42 -0600 (CST)
To: cwilson @ slurp . neu . sgi . com (Chan Wilson)
Cc: mikhail @ klm . com, majordomo-workers @ greatcircle . com
In-reply-to: <199611261647.RAA25815@slurp.neu.sgi.com> from "Chan Wilson" at Nov 26, 96 05:47:45 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Chan Wilson writes: ]
> 
> > The following lines in shlock.pl is trouble:
> > 
> > open($FH_name, ">> $filename") ||
> >     &warn("open of temp file $filename failed\n $!");
> > 
> > It causes an infinite stream of warnings to Majordomo owners from
> > majordomo process that lingers instead of dying like it's suppose to.
> > Why not?:
> > 
> > open($FH_name, ">> $filename") ||
> >      die "open of temp file $filename failed\n $!";
> > 
> 
> Because then nobody likely hears about the problem.
> 
> There's a fix for this in the 1.94.1 test patch I posted several days
> ago.  If you apply it, apply the patches from Dave and Jason as well,
> or wait until I roll those in and send the patch out again.

There is? I don't see anything in 1.94.1 that effects that. Not in
shlock.pl anyway. I agree that it's inappropriate to die there, but I
don't see how it gets out of open_temp without a slew of other warning
messages. I suspect the fix is to add a 'return undef;' after the
'warn' (all within braces, of course).

-- 
 Dave Wolfe


Follow-Ups:
References:
Indexed By Date Previous: Re: Majordomo v1.94: problem with shlock.pl
From: mikhail@klm.com (Mikhail Kuperblum)
Next: 1.94.1 Makefile patch
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: Majordomo v1.94: problem with shlock.pl
From: mikhail@klm.com (Mikhail Kuperblum)
Next: Re: Majordomo v1.94: problem with shlock.pl
From: Chan Wilson <cwilson@slurp.neu.sgi.com>

Google
 
Search Internet Search www.greatcircle.com