X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fchild.c;h=948e0d66928dfb26ed96982c94815ef5950684dc;hb=8f0d0a3138e138ffa6bcc94c8378f5eb22573f0e;hp=5e4b978cd2210155a5d59b9f008743e769e6e0ca;hpb=46d2a5e6f6e7709d172903b13945d23fc0a2c888;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/child.c b/src/src/child.c index 5e4b978cd..948e0d669 100644 --- a/src/src/child.c +++ b/src/src/child.c @@ -3,6 +3,7 @@ *************************************************/ /* Copyright (c) University of Cambridge 1995 - 2015 */ +/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -26,7 +27,7 @@ Arguments: Returns: nothing */ -static void +void 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. */