incorrect use of pidfile(3)
Dag-Erling Smørgrav
des at des.no
Thu Oct 13 12:54:18 UTC 2011
After discussing this with pjd@ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pidfile_open-loop.diff
Type: text/x-patch
Size: 900 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111013/84c04b64/pidfile_open-loop.bin
More information about the freebsd-current
mailing list