[ Chan Wilson writes: ]
>
> > > > The following lines in shlock.pl is trouble:
> > > >
> > > > open($FH_name, ">> $filename") ||
> > > > &warn("open of temp file $filename failed\n $!");
>
> > > There's a fix for this in the 1.94.1 test patch I posted several days
>
> > There is? I don't see anything in 1.94.1 that effects that.
>
> Mmm, in shlock.pl, I changed the warn to call abort, which exits
> cleanly and won't loop.
Oh, <blush> I see it now. I'm still not convinced it's appropriate to
bail out at that low level, but I haven't had time to study the problem
yet. If any of those checks (that call &warn when they fail) could occur
because of lock contention, then bailing from &warn will cause random,
mysterious failures.
--
Dave Wolfe
References:
|
|