summaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-22Use getopt (or getopt_long).Matt Kraai
2001-01-22Fixed listed files to extract to be more like GNU. Reported by Deon George.Matt Kraai
2001-01-20Close files before exitGlenn L McGrath
2001-01-20Close unused pipe handle before fork (for tar -z).Glenn L McGrath
2001-01-13Fix ownership of extracted directories.Matt Kraai
2001-01-03Behave like GNU tar when matching excluded files.Matt Kraai
2001-01-03Fix warning for unused variableGlenn L McGrath
2001-01-02really add dpkg-deb.c this timeGlenn L McGrath
2001-01-02add dpkg-deb commandGlenn L McGrath
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-19Be sure to read from the given path, not the one used in the header.Matt Kraai
2000-12-19Fix tar handling of absolute paths and excluded directories.Matt Kraai
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-15Rewrite, fix a bug with multiple long filenames, simplify structure, remove ↵Glenn L McGrath
cruft, make code conform closer to style guide, saves 350 Bytes.
2000-12-13Add GNU compatibile gzip -dEric Andersen
2000-12-13Patch from Matt Kraai:Eric Andersen
The following patch makes the -X option to tar behave like GNU, which reads one file per line. It also prevents the last file from being appended to the list twice (though that has no noticeable impact).
2000-12-13Fix from Matt Kraai -- a better way to NULL terminate strings for theEric Andersen
my_* passwd and group routines. I should have thought of doing it this way...
2000-12-10Support for tar -z option for uncompressing onlyGlenn L McGrath
2000-12-10Introduce new function gunzip_init()Glenn L McGrath
gunzip_init() will make it easier to use gunzip from other bb functions.
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07Patch from Jim Gleason <jimg@lineo.com> to fix tar so it no longer breaks hardEric Andersen
links, and no longer segfault in a certain wierd case.
2000-12-05Fixed the comments to match the code and renamed the function to a (hopefully)Mark Whitley
more descriptive name, and as per the style guide.
2000-12-04Patch to add in the -X option and fix the --exclude bug, originally byEric Andersen
Sebastien Huet, and now ported to the latest and greatest by both Arne Bernin <ab@netropol.de> and kent robotti <robotti@metconnect.com>.
2000-12-01Make tar shutup on compileEric Andersen
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-30Note an error if we are unable to list/extract specified files.Matt Kraai
2000-11-18Check for archive errors even for files we aren't extracting.Matt Kraai
2000-11-14Grammer fix. Changed "longer then" to "longer than". Fix thanks to JimEric Andersen
Gleason <jimg@lineo.com>.
2000-11-08Move flush_outbuf to the file in which it is used, and by doing so fix aMatt Kraai
nasty error dealing with two different variables with the same name.
2000-11-08Fix some bugs reported by Jim Gleason <jimg@lineo.com> and others IMatt Kraai
introduced.
2000-11-07Cleanup of duplicated symbols -- found by compiling withEric Andersen
LDFLAGS += -Wl,-warn-common
2000-10-23Fix error messages.Matt Kraai
2000-10-09Fix a thinko. Patch from Justus Pendleton <justus@acm.org>Eric Andersen
2000-09-29General cleanup of comments, defines, includes, and global variables, ↵Glenn L McGrath
removed those that arent needed, grouped those remaining at the top. Re-ordered functions to the order they are called. Removed static crc table, it now generates the table once for itself. Results in source reduced by 40%, so it should be a lot easier to work on in the future, binary size only reduced by under 2KB though.
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-24Fix bug#1043 -- hanlde long filenames and links (in this case, by complainingEric Andersen
that thay exist and skipping such files when extracting and when archiving. -Erik
2000-09-23Fix an obscure option parsing bug.Eric Andersen
2000-09-22Clean up error messages.Matt Kraai
2000-09-19Reverted my conversion of tar to getopt to ensure tar canEric Andersen
handle traditional semantics (i.e. 'tar -xvf -' or 'tar xvf' now both work). -Erik
2000-09-18Remove definition of basename.Glenn L McGrath
It was defined out so that it would never be seen, and if it was ever seen it wasnt used for anything. It also stops gunzip compiling under the Hurd.
2000-09-15Updated stdin/stdout treatment to match that of gnu tar.Matt Kraai
2000-09-15Reorganize listing code.Matt Kraai
2000-09-15Allow non-verbose listing to work.Matt Kraai
2000-09-13Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.
2000-09-11Fix .deb unpack and experimental TAR supportGlenn L McGrath
The previous ar.c fialed to recognise one record in .debs Experimental tar support, this is currently *very* cheap because ar and tar are functionally similar. It will need lots of testing so by default tar support code is defined out. To test uncomment the line "#define BB_AR_EXPERIMENTAL_UNTAR"
2000-09-11Simplify a few little things, and merge in a patch fromEric Andersen
robotti@metconnect.com so that 'ar -xv' and 'ar -x -v' both work. -Erik
2000-09-09remove some printf statements i forgot aboutGlenn L McGrath
2000-09-09Implemented new ar functionality unique to busybox ar (i think), the -RGlenn L McGrath
option enable a Recursive extraction (or listing) to take place. i.e. if any files being extracted are themselves ar archives then busybox ar will extract their contents as well. e.g. take bar.deb and do (with GNU ar) ar -q foo.deb b.ar then with busybox ar can do ar -x b.ar data.tar.gz -R isnt used for anything in GNU ar so i think it should be ok, could have used long options This functionality will become (more) usufull with tar, gz support.
2000-09-09Changed getopt so that options can be grouped together, the sourceGlenn L McGrath
archive is now assumed to be the first non parameter. This is how GNU ar behaves.