Re: incorrect use of pidfile(3)

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Thu, 13 Oct 2011 14:54:16 +0200
After discussing this with pjd_at_ on IRC, I arrived at the attached patch,
which increases the length of time pidfile_open() itself waits (I hadn't
noticed that it already looped) and sets *pidptr to -1 if it fails to read
a pid.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no


Received on Thu Oct 13 2011 - 10:54:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC