aboutsummaryrefslogtreecommitdiff
path: root/tar.c
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 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-02add dpkg-deb commandGlenn L McGrath
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-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-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-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-08Fix some bugs reported by Jim Gleason <jimg@lineo.com> and others IMatt Kraai
introduced.
2000-10-09Fix a thinko. Patch from Justus Pendleton <justus@acm.org>Eric Andersen
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-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-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-04Allow compilation when not using BB_FEATURE_TAR_EXCLUDE, and fixMatt Kraai
handling of --exclude option.
2000-09-04Allow selective extraction and listing of files. And fix an uncheckedMatt Kraai
return value of realloc (with xrealloc).
2000-09-01Argh. I *will* compile before checking in.Matt Kraai
2000-09-01Don't unlink files if we are extracting to stdout.Matt Kraai
2000-08-02Merge in two patches from Dave Cinege:Eric Andersen
the first is a cleanup of tar --exclude the second changes mount so mtab works more as it should, and also allows mount to use the traditional short form (i.e. 'mount / -o remount,rw' now works. While inside tar, I changed it to use getopt... -Erik
2000-07-28Fix from Robert Kaiser for stdin behavior.Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-12Always report the applet name when doing error reporting.Matt Kraai
2000-07-06* Fixed tar creation support when reading from stdin ('tar -cf - . ')Eric Andersen
thanks to Daniel Quinlan <quinlan@transmeta.com> -Erik
2000-06-28* Fixed a _horrible_ bug where 'tar -tvf' could unlinkEric Andersen
local files!!! Fix thanks to Marius Groeger <mgroeger@sysgo.de> * Added support for "sh -c command args...", also thanks to Marius Groeger <mgroeger@sysgo.de> -Erik
2000-06-26readlink(2) does not NULL terminate the buffer it reads in, but tar expected itEric Andersen
to do so. This caused symlinks stored in tarballs to likely have trailing crap in the stored symlink named. Oops. -Erik
2000-06-21'tar --help' wasn't working. Fixed it.Eric Andersen
-Erik
2000-06-09* Fixed a small bug that could cause tar to emit warning messagesEric Andersen
and not extract the first file in a directory in some cases of nested directories. Thanks to Kevin Traas <kevin@netmaster.com> for helping track this one down. -Erik
2000-05-30Fixed tar option parsing segfault, and make "tar xv" and "tar -xv"Eric Andersen
both work (i.e. it works with or w/o the "-"). -Erik
2000-05-20First pass at fixing tar segfault, and more portability updates.Erik Andersen
-Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-28Fix tarball creation. In an attempt to accomodate the whinersErik Andersen
that wanted "tar cf foo.tar foo" (i.e. no "-" before options) I broke creation of tarballs. Now fixed. -Erik
2000-04-28Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen
compatability. -Erik
2000-04-21More Doc updates. cmdedit and more termio fixes.Erik Andersen
2000-04-19make ps accept (and ignore) all options (--help works of course).Erik Andersen
tar now works with or without the leading "-" on the options. -Erik