mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
aef431088b
PR: 12174 Submitted by: Dirk Meyer <dirk.meyer@home.dinoex.sub.org>
22 lines
667 B
Plaintext
22 lines
667 B
Plaintext
--- execute_cmd.c.orig Tue Dec 28 19:51:28 1999
|
|
+++ execute_cmd.c Tue Dec 28 19:52:15 1999
|
|
@@ -2207,7 +2207,8 @@
|
|
static int
|
|
execute_null_command (redirects, pipe_in, pipe_out, async, old_last_command_subst_pid)
|
|
REDIRECT *redirects;
|
|
- int pipe_in, pipe_out, async, old_last_command_subst_pid;
|
|
+ int pipe_in, pipe_out, async;
|
|
+ pid_t old_last_command_subst_pid;
|
|
{
|
|
if (pipe_in != NO_PIPE || pipe_out != NO_PIPE || async)
|
|
{
|
|
@@ -2955,7 +2956,7 @@
|
|
{
|
|
char *pathname, *command, **args;
|
|
int nofork;
|
|
- int pid;
|
|
+ pid_t pid;
|
|
|
|
nofork = (cmdflags & CMD_NO_FORK); /* Don't fork, just exec, if no pipes */
|
|
pathname = words->word->word;
|