Software /
code /
prosody
Diff
plugins/adhoc/adhoc.lib.lua @ 3340:0769cc5f34b6
mod_posix: Truncate the pidfile before writing to ensure that we never overwrite with a PID shorter than the previous, and end with an invalid PID in the file.
author | Brian Cully <bjc@junctionnetworks.com> |
---|---|
date | Fri, 09 Jul 2010 01:16:09 +0100 |
parent | 3230:a5c3a82d677e |
child | 3346:c9294e190bb6 |