[BusyBox] dpkg-deb and tar -z patch
Glenn McGrath
bug1 at optushome.com.au
Sat Dec 9 10:41:54 UTC 2000
Ive got a busybox dpkg-deb working, it only implementes the -x option at
this stage, its only small, probably better than a shell script, should
it go in busybox ?
Ive also changed my tar -z patch so that it only works with extracting,
if -cz are used together it spits out a message saying its not
implemented yet, is ok as a temperary solution (till someone else fixes
it) ?
To do the above im made some changes to ar (actually cleaned some jusk
out of ar as well), tar and gunzip, so im getting a bit out of sync with
cvs.
I have some other cleanups in mind for tar
1) Merging the 5 or 6 Flags in tar_main into one optFlag variable and
using a bit for each flag instead of the whole variable.
2) Getting rid of getOctal, strtol should work, thats what i used in ar.
maybe putOctal can go too.
3) I havent checked out the style guide for a while (maybe i shouldnt
confess, but its probably obvious), somewhere in it there i imagine it
says main functionality belongs at the bottom instead of the top, it
would like to change the function order in tar.
4) get rid of a few more internal TRUE/FALSE returns.
I dont really want to look at the above changes till i know whats
happening with my tar -z and dpkg-deb changes, if they are both wanted i
will just do 1 commit, else i will seperate them and just do one.
If you want a look prior to commit i will post it to the list.
Glenn
More information about the busybox
mailing list