[PATCH] opentvt wait addition

James Simmons jsimmons at infradead.org
Thu Mar 27 10:16:36 PDT 2008


> On Thursday 27 March 2008 16:14, James Simmons wrote:
> > 
> > > > --- busybox.orig/console-tools/openvt.c	2008-03-26 09:51:27.000000000 -0400
> > > > +++ busybox/console-tools/openvt.c	2008-03-26 10:10:50.000000000 -0400
> > > > @@ -16,12 +16,16 @@
> > > >  int openvt_main(int argc, char **argv)
> > > >  {
> > > >  	char vtname[sizeof(VC_FORMAT) + 2];
> > > > +	pid_t pid;
> > > > +	int flags;
> > > > +
> > > > +	flags = getopt32(argc, argv, "w");
> > > 
> > > Does not compile: getopt32() does not take argc, only argv.
> > 
> > Sorry. The patch is from busybox 1.6.1. Plus I missed enabling openvt in 
> > the menu so I missed the problems.
> 
> Oops... I just committed a much reworked version. Can you check current svn?

Thats okay. It looks like you cover the case I was trying to fix!!! I will 
need to test it.



More information about the busybox mailing list