sync code with last fixes and improvements from OpenBSD
This commit is contained in:
parent
8f31919cdb
commit
25f3a6cfac
76 changed files with 1289 additions and 694 deletions
|
@ -344,7 +344,7 @@ parent_sig_handler(int sig, short event, void *p)
|
|||
int len;
|
||||
enum mda_resp_status mda_status;
|
||||
int mda_sysexit;
|
||||
|
||||
|
||||
pid = waitpid(-1, &status, WNOHANG);
|
||||
if (pid <= 0)
|
||||
continue;
|
||||
|
@ -1355,7 +1355,7 @@ fork_filter_process(const char *name, const char *command, const char *user, con
|
|||
if (command[0] == '/')
|
||||
execr = snprintf(exec, sizeof(exec), "exec %s", command);
|
||||
else
|
||||
execr = snprintf(exec, sizeof(exec), "exec %s/%s",
|
||||
execr = snprintf(exec, sizeof(exec), "exec %s/%s",
|
||||
PATH_LIBEXEC, command);
|
||||
if (execr >= (int) sizeof(exec))
|
||||
fatalx("%s: exec path too long", name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue