]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
* server/log.c (ap_log_pid): Use a temporary file, then rename once
authorJoe Orton <jorton@apache.org>
Fri, 13 Mar 2020 14:34:18 +0000 (14:34 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 13 Mar 2020 14:34:18 +0000 (14:34 +0000)
commitdd10a9352e87a868ad527022bbafdc3b82cc6d0a
treeb3d115866f0606240995a130b3bb4196d4ac251e
parent6db29cc79e719426b79282d3f825eafc2d21ec1c
* server/log.c (ap_log_pid): Use a temporary file, then rename once
  successfully written; also add error checking.  Avoids startup
  failures if a previous httpd invocation crashed while writing the
  pidfile.

Submitted by: Nicolas Carrier <carrier.nicolas0 gmail.com>, jorton
Github: closes #100, closes #69
PR: 63140

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875153 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
docs/log-message-tags/next-number
server/log.c