]> git.ipfire.org Git - thirdparty/tor.git/commit
Add a PID_T_FORMAT for writing pids to logs
authorNick Mathewson <nickm@torproject.org>
Fri, 2 Nov 2012 18:03:38 +0000 (14:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 2 Nov 2012 18:07:01 +0000 (14:07 -0400)
commit07656d70ed3bd71fa1eec229c823187864494e9c
treeec91385bb71c5d740397f4f08e8f355fbdfff158
parent5e096b677097a24a2ab72385cd9b87b148fd5b62
Add a PID_T_FORMAT for writing pids to logs

This is based on code by yayooo for 7260, but:

 - It allows for SIZEOF_PID_T == SIZEOF_SHORT

 - It addresses some additional cases where we weren't getting any
   warnings only because we were casting pid_t to int.
src/common/procmon.c