Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't write trailing nulls to pidfile (#107)
As written we would always write a 64 byte pidfile with dozens of null terminator characters (or even garbage characters from non-zeroed memory). With this change we only write the decimal PID, a newline, and a single null terminator.
- Loading branch information