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
OpenSSL: fix bulid on older library versions
[exim.git]
/
src
/
src
/
route.c
diff --git
a/src/src/route.c
b/src/src/route.c
index fd3cb3e6483675909697b78c5ead65013e0ce95d..c7833ebb43e4e3607728e8de79c77719b9f3b6a5 100644
(file)
--- a/
src/src/route.c
+++ b/
src/src/route.c
@@
-736,7
+736,7
@@
while ((check = string_nextinlist(&listptr, &sep, buffer, sizeof(buffer))))
otherwise. Save the old state for resetting on the wait. */
oldsignal = signal(SIGCHLD, SIG_DFL);
otherwise. Save the old state for resetting on the wait. */
oldsignal = signal(SIGCHLD, SIG_DFL);
- pid =
fork(
);
+ pid =
exim_fork(US"require-files"
);
/* If fork() fails, reinstate the original error and behave as if
this block of code were not present. This is the same behaviour as happens
/* If fork() fails, reinstate the original error and behave as if
this block of code were not present. This is the same behaviour as happens
@@
-759,9
+759,9
@@
while ((check = string_nextinlist(&listptr, &sep, buffer, sizeof(buffer))))
exim_setugid(uid, gid, TRUE,
string_sprintf("require_files check, file=%s", ss));
if (route_check_access(ss, uid, gid, 4))
exim_setugid(uid, gid, TRUE,
string_sprintf("require_files check, file=%s", ss));
if (route_check_access(ss, uid, gid, 4))
- exim_underbar_exit(
0, US"route-check-access"
);
+ exim_underbar_exit(
EXIT_SUCCESS
);
DEBUG(D_route) debug_printf("route_check_access() failed\n");
DEBUG(D_route) debug_printf("route_check_access() failed\n");
- exim_underbar_exit(
1, US"route-check-access"
);
+ exim_underbar_exit(
EXIT_FAILURE
);
}
/* In the parent, wait for the child to finish */
}
/* In the parent, wait for the child to finish */