Subject: CVS commit: basesrc/lib/libutil
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 10/19/2001 23:37:01
Module Name:	basesrc
Committed By:	tron
Date:		Fri Oct 19 20:37:00 UTC 2001

Modified Files:
	basesrc/lib/libutil: pidfile.3 pidfile.c

Log Message:
- Don't delete the pidfile if the process executing the cleanup handler
  isn't the process who created it.
- If a new basename is supplied remove the an old pidfile if it was created
  by this process and create a new one as suggested by Jason Thorpe.
This fixes PR lib/13357 by Greg A. Woods.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 basesrc/lib/libutil/pidfile.3
cvs rdiff -r1.4 -r1.5 basesrc/lib/libutil/pidfile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.