git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DNS: explicit alloc/free of workspace
[exim.git]
/
src
/
src
/
child.c
diff --git
a/src/src/child.c
b/src/src/child.c
index 5e4b978cd2210155a5d59b9f008743e769e6e0ca..948e0d66928dfb26ed96982c94815ef5950684dc 100644
(file)
--- a/
src/src/child.c
+++ b/
src/src/child.c
@@
-3,6
+3,7
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2015 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2015 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-26,7
+27,7
@@
Arguments:
Returns: nothing
*/
Returns: nothing
*/
-
static
void
+void
force_fd(int oldfd, int newfd)
{
if (oldfd == newfd) return;
force_fd(int oldfd, int newfd)
{
if (oldfd == newfd) return;
@@
-268,6
+269,8
@@
if (pid == 0)
}
}
}
}
+testharness_pause_ms(100); /* let child work even longer, for exec */
+
/* Parent process. Save fork() errno and close the reading end of the stdin
pipe. */
/* Parent process. Save fork() errno and close the reading end of the stdin
pipe. */