summaryrefslogtreecommitdiff
path: root/backport-httpd-2.4.59-gettid.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-06 14:08:48 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-06 14:08:48 +0000
commitf753cf756d89ad7b43a59ef10807efc1cbfff797 (patch)
tree8eaebade40a379b6ac195328a2dae08c872a3a43 /backport-httpd-2.4.59-gettid.patch
parent24f5281099b90e68d4858062bec7a36ab6a9be59 (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