markj 562ca52ecd Fix pidfile_open(3) to handle relative paths with multiple components.
r322369's use of basename(3) was incorrect and worked by accident so
long as the pidfile path was absolute or consisted of a single
component.  Fix the basename() usage and add a regression test.

Reported by:	0mp
Reviewed by:	cem
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D19728
2019-03-27 19:40:18 +00:00
..
2018-03-04 18:00:32 +00:00
2017-11-11 14:39:13 +00:00
2018-05-23 17:02:12 +00:00
2018-06-02 22:40:16 +00:00
2018-05-23 17:02:12 +00:00
2018-05-23 17:02:12 +00:00