Software /
code /
prosody
Diff
net/server_select.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 | 3312:12fc7e005e8b |
child | 3382:fea0f8e19e4c |