]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1917578 from trunk:
authorJoe Orton <jorton@apache.org>
Fri, 21 Jun 2024 14:31:54 +0000 (14:31 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 21 Jun 2024 14:31:54 +0000 (14:31 +0000)
commit453dbd9ad35f6254b632439df909892ad2e65ee7
tree2f618615b03ad01c96fb98d070f5637dfea1b057
parent644fcf5fdb3d49d7d4594dc23e7cd5d65ee3edad
Merge r1917578 from trunk:

On Linux use the real thread id via gettid() in error logging,
where available, rather than the (meaningless) default
pthread_self()-as-integer interpretation:

* configure.in: Define DEFAULT_LOG_TID on Linux if gettid() is available.

* server/log.c: Define DEFAULT_LOG_TID as NULL by default.
  (do_errorlog_default): Use DEFAULT_LOG_TID as the argument to log_tid().

Reviewed by: jorton, ylavic, icing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1918489 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/linux-log-tid.txt [new file with mode: 0644]
configure.in
server/log.c