]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
tweak error handling when reading the pid file
authorJeff Trawick <trawick@apache.org>
Sat, 14 Aug 2004 10:49:43 +0000 (10:49 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 14 Aug 2004 10:49:43 +0000 (10:49 +0000)
commit0f0a226ad17a90a214339efc590bfb71b4848a77
tree9852979d07909d3f63025e44800a044df82ecc6b
parent7f47aa1ba81f7a6e2ba444ad4b473d7b0a066154
tweak error handling when reading the pid file

previously strtol() would look at unitialized
storage, but now the string is terminated where
the data read ends

give user a hint about removing the file if we can't
read/parse it properly

(somehow I ended up with a truncated httpd.pid on my
own system, leading to these tweaks)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104651 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/log.c
server/mpm_common.c