[BusyBox-cvs] busybox/shell lash.c,1.154,1.155

Glenn McGrath bug1 at busybox.net
Fri Mar 5 12:55:33 UTC 2004


Update of /var/cvs/busybox/shell
In directory nail:/tmp/cvs-serv23165/shell

Modified Files:
	lash.c 
Log Message:
Patch by Felipe Kellermann to fix a compiler compatability problem


Index: lash.c
===================================================================
RCS file: /var/cvs/busybox/shell/lash.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- a/lash.c	10 Feb 2004 01:30:21 -0000	1.154
+++ b/lash.c	5 Mar 2004 12:55:30 -0000	1.155
@@ -1457,14 +1457,14 @@
 	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;
-
-	/* save current owner of TTY so we can restore it on exit */
-	parent_pgrp = tcgetpgrp(shell_terminal);
+        pid_t  parent_pgrp;
+                                                                                
+        /* save current owner of TTY so we can restore it on exit */
+        parent_pgrp = tcgetpgrp(shell_terminal);
 #endif
+	newjob.job_list = &job_list;
+	newjob.job_context = DEFAULT_CONTEXT;
 
 	command = (char *) xcalloc(BUFSIZ, sizeof(char));
 




More information about the busybox-cvs mailing list