On Monday 06 August 2007 12:50, Alex Landau wrote: > Hi, > > When catv gets no files on the command line (argv[0] == NULL after getopt), > after doing > its work it increments argv to point to the next argument, but since argv is > already > NULL, catv tries to open files whose names are the environment strings (e.g. > "HOME=/home/user", "PATH=..."). > The fix/workaround below is to pre-decrement argv in this case, so that when > it is > incremented later it will be NULL and the loop will break.
Applied, thanks -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
