aboutsummaryrefslogtreecommitdiff
path: root/tar.c
AgeCommit message (Collapse)Author
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation forEric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
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