[BusyBox] -d support for gzip
Glenn McGrath
bug1 at optushome.com.au
Thu Dec 14 00:30:56 UTC 2000
Richard June wrote:
>
> Anybody who uses gnu tar with busybox will need this so that tar -tzf and
> tar -xzf (possibly others) will work.
>
> *** gzip.c.orig Wed Nov 29 11:04:40 2000
> --- gzip.c Tue Dec 12 12:37:30 2000
> *************** int gzip_main(int argc, char **argv)
> *** 1820,1825 ****
> --- 1820,1829 ----
> case '1': case '2': case '3': case '4': case '5':
> case '6': case '7': case '8': case '9':
> break;
> + case 'd':
> + gunzip_main(argc, argv);
> + exit(0);
> + break;
> default:
> usage(gzip_usage);
> }
>
Hi, this looks like a nice way to get gzip to call gunzip, but i dont
follow what it has to do with tar.
Glenn
More information about the busybox
mailing list