diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-03-05 12:55:30 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-03-05 12:55:30 +0000 |
commit | c45146cf244fb5dd6c2f6b7b7be696e5a56fa166 (patch) | |
tree | 9a911a1b62aa8f773f5b9c9aaa254b6a92323c8a | |
parent | 3d752f7ab2e9e6e9c8601a4ed9f6fb127e51c509 (diff) | |
download | busybox-w32-c45146cf244fb5dd6c2f6b7b7be696e5a56fa166.tar.gz busybox-w32-c45146cf244fb5dd6c2f6b7b7be696e5a56fa166.tar.bz2 busybox-w32-c45146cf244fb5dd6c2f6b7b7be696e5a56fa166.zip |
Patch by Felipe Kellermann to fix a compiler compatability problem
-rw-r--r-- | shell/lash.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/lash.c b/shell/lash.c index 6969173c8..30cbe416e 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -1457,14 +1457,14 @@ static int busy_loop(FILE * input) | |||
1457 | int i; | 1457 | int i; |
1458 | int inbg; | 1458 | int inbg; |
1459 | int status; | 1459 | int status; |
1460 | newjob.job_list = &job_list; | ||
1461 | newjob.job_context = DEFAULT_CONTEXT; | ||
1462 | #ifdef CONFIG_LASH_JOB_CONTROL | 1460 | #ifdef CONFIG_LASH_JOB_CONTROL |
1463 | pid_t parent_pgrp; | 1461 | pid_t parent_pgrp; |
1464 | 1462 | ||
1465 | /* save current owner of TTY so we can restore it on exit */ | 1463 | /* save current owner of TTY so we can restore it on exit */ |
1466 | parent_pgrp = tcgetpgrp(shell_terminal); | 1464 | parent_pgrp = tcgetpgrp(shell_terminal); |
1467 | #endif | 1465 | #endif |
1466 | newjob.job_list = &job_list; | ||
1467 | newjob.job_context = DEFAULT_CONTEXT; | ||
1468 | 1468 | ||
1469 | command = (char *) xcalloc(BUFSIZ, sizeof(char)); | 1469 | command = (char *) xcalloc(BUFSIZ, sizeof(char)); |
1470 | 1470 | ||