Please explain what situation you are trying to fix. Just sending a patch with no explanation whatsoever is... strange.
On Thursday 13 May 2010 22:10, Constantine Shulyupin wrote: > diff --git a/shell/cttyhack.c b/shell/cttyhack.c > index 572a3af..90c73c1 100644 > --- a/shell/cttyhack.c > +++ b/shell/cttyhack.c > @@ -69,6 +69,7 @@ int cttyhack_main(int argc UNUSED_PARAM, char **argv) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0dup2(fd, 2); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0while (fd > 2) close(fd--); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/* Some other session may have it as ctty. S= > teal it from them */ > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 setsid(); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ioctl(0, TIOCSCTTY, 1); > =A0 =A0 =A0 =A0} The patch is mangled by email software somewhere on the way. Please send at attachment. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
