X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Ftransports%2Fpipe.c;h=27422bd4275253faff52eec52ed1039d011d3382;hb=b008f54f89a3e1a0aae0c301122820b87a84d21a;hp=ca22f2659f22d65aaef6aef899dec28a8c1e9bf8;hpb=13a4b4c1810a1a9f3c956f1e92807a0d86c6f5bf;p=exim.git diff --git a/src/src/transports/pipe.c b/src/src/transports/pipe.c index ca22f2659..27422bd42 100644 --- a/src/src/transports/pipe.c +++ b/src/src/transports/pipe.c @@ -678,7 +678,7 @@ if (envlist) return FALSE; } -while ((ss = string_nextinlist(&envlist, &envsep, big_buffer, big_buffer_size))) +while ((ss = string_nextinlist(&envlist, &envsep, NULL, 0))) { if (envcount > nelem(envp) - 2) { @@ -725,7 +725,8 @@ reading of the output pipe. */ uid/gid and current directory. Request that the new process be a process group leader, so we can kill it and all its children on a timeout. */ -if ((pid = child_open(USS argv, envp, ob->umask, &fd_in, &fd_out, TRUE)) < 0) +if ((pid = child_open(USS argv, envp, ob->umask, &fd_in, &fd_out, TRUE, + US"pipe-tpt-cmd")) < 0) { addr->transport_return = DEFER; addr->message = string_sprintf( @@ -737,7 +738,7 @@ tctx.u.fd = fd_in; /* Now fork a process to handle the output that comes down the pipe. */ -if ((outpid = fork()) < 0) +if ((outpid = exim_fork(US"pipe-tpt-output")) < 0) { addr->basic_errno = errno; addr->transport_return = DEFER;