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
commitc877c77406d3e31de02f5740a8cacbac9d92ea77 (patch)
tree816d7508ae1c7706076ffea89b903e7dccf53521 /backport-httpd-2.4.59-gettid.patch
parenta12b5db2a95667c9a8affb404d5b5684cad488e4 (diff)
automatic import of httpd
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