EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
This commit is contained in:
@@ -1004,7 +1004,7 @@ static int popen2(FILE **in, FILE **out, char *command, ...)
|
||||
close(infd[1]);
|
||||
close(outfd[0]);
|
||||
close(outfd[1]);
|
||||
execvp(command, argv);
|
||||
BB_EXECVP(command, argv);
|
||||
exit(127);
|
||||
default: /* parent */
|
||||
*in = fdopen(infd[1], "w");
|
||||
|
@@ -149,7 +149,7 @@ int nc_main(int argc, char **argv)
|
||||
}
|
||||
dup2(0, 1);
|
||||
dup2(0, 2);
|
||||
USE_NC_EXTRA(execvp(execparam[0], execparam);)
|
||||
USE_NC_EXTRA(BB_EXECVP(execparam[0], execparam);)
|
||||
/* Don't print stuff or it will go over the wire.... */
|
||||
_exit(127);
|
||||
}
|
||||
|
Reference in New Issue
Block a user