Patch by Felipe Kellermann to fix a compiler compatability problem

This commit is contained in:
Glenn L McGrath 2004-03-05 12:55:30 +00:00
parent 3d752f7ab2
commit c45146cf24

View File

@ -1457,14 +1457,14 @@ static int busy_loop(FILE * input)
int i; int i;
int inbg; int inbg;
int status; int status;
newjob.job_list = &job_list;
newjob.job_context = DEFAULT_CONTEXT;
#ifdef CONFIG_LASH_JOB_CONTROL #ifdef CONFIG_LASH_JOB_CONTROL
pid_t parent_pgrp; pid_t parent_pgrp;
/* save current owner of TTY so we can restore it on exit */ /* save current owner of TTY so we can restore it on exit */
parent_pgrp = tcgetpgrp(shell_terminal); parent_pgrp = tcgetpgrp(shell_terminal);
#endif #endif
newjob.job_list = &job_list;
newjob.job_context = DEFAULT_CONTEXT;
command = (char *) xcalloc(BUFSIZ, sizeof(char)); command = (char *) xcalloc(BUFSIZ, sizeof(char));