[BusyBox] which.c does not compile with gcc 2.95.4
Felipe Kellermann
stdfk at terra.com.br
Wed Mar 3 22:14:30 UTC 2004
On Thu, 4 Mar 2004 8:13am +1100, Glenn McGrath wrote:
> On Wed, 03 Mar 2004 15:04:50 +0100
> Steven Scholz <steven.scholz at imc-berlin.de> wrote:
>
> > the following trivial patch fixes that:
>
> Ah i didnt notice that one, thanks.
And there is another one, in lash:
Index: shell/lash.c
===================================================================
RCS file: /var/cvs/busybox/shell/lash.c,v
retrieving revision 1.154
diff -b -w -u -r1.154 lash.c
--- shell/lash.c 10 Feb 2004 01:30:21 -0000 1.154
+++ shell/lash.c 3 Mar 2004 21:58:27 -0000
@@ -1457,11 +1457,13 @@
int i;
int inbg;
int status;
- newjob.job_list = &job_list;
- newjob.job_context = DEFAULT_CONTEXT;
#ifdef CONFIG_LASH_JOB_CONTROL
pid_t parent_pgrp;
+#endif
+ newjob.job_list = &job_list;
+ newjob.job_context = DEFAULT_CONTEXT;
+#ifdef CONFIG_LASH_JOB_CONTROL
/* save current owner of TTY so we can restore it on exit */
parent_pgrp = tcgetpgrp(shell_terminal);
#endif
--
Felipe Kellermann
More information about the busybox
mailing list