Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libutil
Module Name: src
Committed By: roy
Date: Thu Jun 11 21:13:47 UTC 2026
Modified Files:
src/lib/libutil: pidfile.3 pidfile.c
Log Message:
pidfile: if locked but a pid cannot be read set errno = EAGAIN
As indicating it's locked is much more important than any error reading
it's contents as a pid.
This should help racy competition to lock first.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libutil/pidfile.3
cvs rdiff -u -r1.19 -r1.20 src/lib/libutil/pidfile.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index