Fixes to compile on FreeBSD.
- Replace strndrupa with alloca + memcpy. - In create_pid function do rewind before read from pid file.
Please register or sign in to comment
- Replace strndrupa with alloca + memcpy. - In create_pid function do rewind before read from pid file.