[ Karol Zielonko 508-486-5632 writes: ]
>
> In the majordomo script (do_newconfig routine) and the config_parse.pl
> code (get_config routine) direct calls to the shlock routine are made.
> In both cases the calls don't check the return status to see if the
> lock was granted so that it can keep trying to get the lock (like
> lopen does). Can anyone tell me why this is?
Because it's a bug? Even if it doesn't retry like lopen, it should check
the return value before operating on the config file. Otherwise, what
was the point of calling shlock?
--
Dave Wolfe
References:
|
|