aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix from Robert Kaiser for stdin behavior.andersen2000-07-281-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@916 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed stdin/stdout paths so things likeandersen2000-07-212-11/+35
| | | | | | | | | | tar cvf - /etc/* | gzip -c9 >test.tgz will now work. Fix thanks to Dave Cinege <dcinege@psychosis.com> with some adjustments by me to be mroe GNU-like. -Erik git-svn-id: svn://busybox.net/trunk/busybox@898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-164-69/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always report the applet name when doing error reporting.kraai2000-07-124-25/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@831 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use global applet_name instead of local versions.kraai2000-07-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fixed tar creation support when reading from stdin ('tar -cf - . ')andersen2000-07-061-0/+2
| | | | | | | | thanks to Daniel Quinlan <quinlan@transmeta.com> -Erik git-svn-id: svn://busybox.net/trunk/busybox@760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a few minor cleanups.andersen2000-07-061-0/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@746 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu> toandersen2000-07-051-15/+15
| | | | | | | | simplify ar.c and make it more readable. -Erik git-svn-id: svn://busybox.net/trunk/busybox@736 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fixed a _horrible_ bug where 'tar -tvf' could unlinkandersen2000-06-281-1/+2
| | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* readlink(2) does not NULL terminate the buffer it reads in, but tar expected itandersen2000-06-261-1/+4
| | | | | | | | | to do so. This caused symlinks stored in tarballs to likely have trailing crap in the stored symlink named. Oops. -Erik git-svn-id: svn://busybox.net/trunk/busybox@702 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 'tar --help' wasn't working. Fixed it.andersen2000-06-211-0/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-192-7/+5
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update to ar.c from Glenn McGrath. His comments follow:andersen2000-06-161-87/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------ the attached diff applies to the ar.c i originally submitted Changes Preserve dates now works. Extracted files are set to the uid, gid and mode specified in the archive. Checks for valid end of header marker. Correctly unpacks newer debian files. (has a '\n' character between entries) Added more comments. Cleaned up code. Added a last modified date to help keep track of versions. TODO Common functionality in ar.c are in tar.c should be merged, in particular getOctal and extractSubFile. Should all functions that are used by multiple file go in utilities.c ? git-svn-id: svn://busybox.net/trunk/busybox@653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fixed a small bug that could cause tar to emit warning messagesandersen2000-06-091-2/+5
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@633 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of additional fixed from Pavel Roskin, note some more bugs in theandersen2000-06-021-0/+277
| | | | | | | | | TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox, which is now included. -Erik git-svn-id: svn://busybox.net/trunk/busybox@594 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed tar option parsing segfault, and make "tar xv" and "tar -xv"andersen2000-05-301-3/+4
| | | | | | | | both work (i.e. it works with or w/o the "-"). -Erik git-svn-id: svn://busybox.net/trunk/busybox@580 69ca8d6d-28ef-0310-b511-8ec308f3f277
* First pass at fixing tar segfault, and more portability updates.erik2000-05-201-2/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@559 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More libc portability updates, add in the website (which has not beenerik2000-05-192-143/+14
| | | | | | | | archived previously). Wrote 'which' during the meeting today. -Erik git-svn-id: svn://busybox.net/trunk/busybox@558 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-123-14/+26
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * cp -fa now works as expected for symlinks (it didn't before)erik2000-05-101-4/+5
| | | | | | | | | * zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik git-svn-id: svn://busybox.net/trunk/busybox@530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tarball creation. In an attempt to accomodate the whinerserik2000-04-281-1/+1
| | | | | | | | | that wanted "tar cf foo.tar foo" (i.e. no "-" before options) I broke creation of tarballs. Now fixed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@502 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-283-5/+2
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More Doc updates. cmdedit and more termio fixes.erik2000-04-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make ps accept (and ignore) all options (--help works of course).erik2000-04-191-4/+3
| | | | | | | | tar now works with or without the leading "-" on the options. -Erik git-svn-id: svn://busybox.net/trunk/busybox@482 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More documentation updates, and minor fixes to make things syncerik2000-04-151-1/+1
| | | | | | | | up with the docs. -Erik git-svn-id: svn://busybox.net/trunk/busybox@457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a tar bug: tar removed leading '/'s for symlink targets.erik2000-04-141-24/+2
| | | | | | | | | Fix a syslogd bug: Only the first sizeof(buffer) was read from the /dev/log socket, causing (for most cases) only every other log item to be logged. -Erik git-svn-id: svn://busybox.net/trunk/busybox@456 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-133-183/+184
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This makes tar work perfectly, and adds in "--exclude" as an optionerik2000-04-091-83/+120
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@442 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tar checksum calculation bug.erik2000-04-081-33/+55
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@441 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatesterik2000-04-081-71/+103
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Slightly better fringe case handling and GNU tar like error messages.erik2000-04-071-48/+86
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch to make killall actually kill all PIDs with the specified name,erik2000-04-071-1/+1
| | | | | | | | | | rather then busylooping trying to kill the first one until it dies. Should be more efficient now, and will only send one signal to each specified process. -Erik git-svn-id: svn://busybox.net/trunk/busybox@437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tar now works perfectly. It behaves much better now then iterik2000-04-051-60/+119
| | | | | | | | used to. Only thing left to do is add in exclude (-X) option. -Erik git-svn-id: svn://busybox.net/trunk/busybox@430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update tar so creation of tarballs is much closer to working...erik2000-04-041-69/+126
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@427 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another installment in the ongoing tar sagaerik2000-03-281-12/+74
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@424 69ca8d6d-28ef-0310-b511-8ec308f3f277
* First stages of (re-)writing busybox's tar creation support.erik2000-03-261-17/+108
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@423 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatesterik2000-03-251-5/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The new tar for busybox is now done, and works just fineerik2000-03-241-892/+271
| | | | | | | | for extracting files. Creation of tarballs is next... -Erik git-svn-id: svn://busybox.net/trunk/busybox@421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More changes that are broken. It doesn't compileerik2000-03-231-43/+57
| | | | | | | | yet, but is closer. -Erik git-svn-id: svn://busybox.net/trunk/busybox@420 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My latest ramblings.erik2000-03-231-287/+226
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more minor fixeserik2000-03-191-6/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@413 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some updates for the day,erik2000-02-181-0/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@373 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updateserik2000-02-112-18/+14
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@368 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-083-3674/+3835
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-072-7/+24
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* copyFile could call chmod on a symlink, changing the permserik2000-01-271-0/+1
| | | | | | | | of the pointed to file. Minor fix to tar for directory handling. -Erik git-svn-id: svn://busybox.net/trunk/busybox@344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some busybox updates. See the changelog for details if you care.erik2000-01-252-70/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@338 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * added (and documented) "-n" option for head -erik2000-01-231-1/+1
| | | | | | | | | | contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik git-svn-id: svn://busybox.net/trunk/busybox@336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug where tar could change perms and ownership of dirs pointederik2000-01-231-11/+16
| | | | | | | | to by symlink within a tarball. -Erik git-svn-id: svn://busybox.net/trunk/busybox@329 69ca8d6d-28ef-0310-b511-8ec308f3f277