summaryrefslogtreecommitdiff
path: root/backport-httpd-2.4.59-gettid.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-06 14:19:18 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-06 14:19:18 +0000
commit335c7c777477eb8cf60510191edf5425da818fd0 (patch)
tree816d7508ae1c7706076ffea89b903e7dccf53521 /backport-httpd-2.4.59-gettid.patch
parent4b7ff4f35db09d0006b608ec171d50ed60356062 (diff)
Diffstat (limited to 'backport-httpd-2.4.59-gettid.patch')
-rw-r--r--backport-httpd-2.4.59-gettid.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/backport-httpd-2.4.59-gettid.patch b/backport-httpd-2.4.59-gettid.patch
new file mode 100644
index 0000000..4857e37
--- /dev/null
+++ b/backport-httpd-2.4.59-gettid.patch
@@ -0,0 +1,14 @@
+
+Upstream-Status: not pushed upstream
+
+--- httpd-2.4.54/server/log.c.gettid
++++ httpd-2.4.54/server/log.c
+@@ -968,7 +972,7 @@
+ #if APR_HAS_THREADS
+ field_start = len;
+ len += cpystrn(buf + len, ":tid ", buflen - len);
+- item_len = log_tid(info, NULL, buf + len, buflen - len);
++ item_len = log_tid(info, "g", buf + len, buflen - len);
+ if (!item_len)
+ len = field_start;
+ else