git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3327394
)
Logging: avoid pause during log-open under testsuite
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 28 May 2021 12:33:49 +0000
(13:33 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 28 May 2021 12:33:49 +0000
(13:33 +0100)
It results in rearranged logging output, causing testsuite case failures
The downside is that we lose debug visbility of the extra process startup
Broken-by: b6c1434e47
src/src/log.c
patch
|
blob
|
history
diff --git
a/src/src/log.c
b/src/src/log.c
index bb6902ea082af8b86d7c72494c1f136655e057bf..ae4f084e63225c36888205176a9ad40f00b212f2 100644
(file)
--- a/
src/src/log.c
+++ b/
src/src/log.c
@@
-403,7
+403,7
@@
else if (euid == root_uid)
int sock[2];
if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) == 0)
{
- const pid_t pid =
exim_fork(US"logfile-open"
);
+ const pid_t pid =
fork(
);
if (pid == 0)
{
(void)close(sock[0]);