[PATCH] util: Add documentation for PID file handling

Amitay Isaacs amitay at gmail.com
Thu Aug 17 07:33:43 UTC 2017


On Thu, Aug 17, 2017 at 4:17 PM, Martin Schwenke via samba-technical <
samba-technical at lists.samba.org> wrote:

> Please review and maybe push...
>

Two minor fixes:

1. Update description of pidfile_path_create

 - * another process has the PID file locked.  Use unlink(2) to remove
- * the PID file.
+ * another process has the PID file locked.  Use unlink(2) and
+ * pidfile_fd_close() to remove the PID file.

2. Make the prototype match the documentation for pidfile_create() and
pidfile_close().

Change program_name to name.

Amitay.


More information about the samba-technical mailing list