summaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled.Glenn L McGrath2003-09-121-3/+0
|
* Use the typeflag to identify if its a hardlink on OLD and GNU posixGlenn L McGrath2003-09-121-6/+6
| | | | modes, fixes a bug extracting hardlinks to symlinks.
* Marc A. Lehmann writes:Eric Andersen2003-09-111-1/+1
| | | | | | | | | | | | | | | The tar -x command in busybox does not restore the file mode correctly. The reason is most probably this code in archival/libunarachive/data_extract_all.c: chmod(file_header->name, file_header->mode); chown(file_header->name, file_header->uid, file_header->gid); chown clears the set*id bits (on current versions of linux :). Flipping the order around fixes the problem. (tested with 1.00pre3 from cvs).
* If a tar entry is a regualr file ending in a '/' then its really aGlenn L McGrath2003-09-091-5/+5
| | | | | | | | | | | | directory. From http://www.gnu.org/manual/tar/html_node/tar_123.html REGTYPE AREGTYPE These flags represent a regular file. In order to be compatible with older versions of tar, a typeflag value of AREGTYPE should be silently recognized as a regular file. New archives should be created using REGTYPE. Also, for backward compatibility, tar treats a regular file whose name ends with a slash as a directory.
* Dont unlink when testing !Glenn L McGrath2003-08-283-43/+44
| | | | | | | Always preserve creation date Disable the -p option its for modification date Remove some cpio header debugging noise Syncronise file listing behaviour with upstream.
* trivial doc fixEric Andersen2003-08-221-2/+3
|
* Change hardlink handling for tar to work the same way as cpioGlenn L McGrath2003-08-142-44/+46
|
* Fix bug when handling debian packages.Glenn L McGrath2003-07-311-3/+5
| | | | | | If we read the contents of compressed files within the ar archive, e.g. control.tar.gz, then file position gets all out of whack, so it has to be reset before reading thenext header.
* Fixup problem unconditionally converting all hard links to symlinks.Eric Andersen2003-07-161-6/+1
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-149-11/+10
|
* Patch from Thomas Cameron:Eric Andersen2003-07-141-28/+28
| | | | | | | | | | | Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc.
* Be certain to not abort prematurely when reading stuff from pipes.Eric Andersen2003-07-053-3/+3
|
* As noted by Thomas Eckert:Eric Andersen2003-07-051-2/+9
| | | | | | | | | | | | | | | | bb-tar "cjf" does not create a valid tbz2-archive -- if fact the result is a plain tar-file (no compression) -- but does not warn about the unrecognized parameter combination "cj" (bb does not have bzip2-compression yet, right?). to fix this I have added an error message stating this does not work. He also reported cosmetic: versose "-v" does not show any output when used with "create" which I have now fixed as well. -Erik
* Patch from Kent Robotti adding a bunch of needed docs!Eric Andersen2003-07-051-2/+2
| | | | -Erik
* Glenn McGrath (bug1) isaway from my email till the 17th, but caught me on IRC.Eric Andersen2003-07-051-1/+1
| | | | | He took a look into the recent reports of tar problems, and found an obvious typo in last_patch91 from vodz which converted tar to use bb_getopt_ulflags.
* Patch from Kent Robotti adding a bunch of menuconfig helpEric Andersen2003-07-031-12/+27
|
* last_patch91 from vodz to convert tar to use bb_getopt_ulflagsEric Andersen2003-06-261-60/+56
|
* Save a few bytes by using bb_getopt_ulflags and a few other minorGlenn L McGrath2003-06-221-49/+31
| | | | improvments
* Handle hard links by converting them to symlinksGlenn L McGrath2003-06-121-1/+5
|
* Handle -O preceding -x.Matt Kraai2003-05-181-1/+3
|
* Always preserve dateGlenn L McGrath2003-04-261-2/+1
|
* unlink a previous file before its extractedGlenn L McGrath2003-04-211-1/+2
|
* unlink() an existing file, before opening it, simply truncating canGlenn L McGrath2003-04-211-1/+2
| | | | cause nasty problems if overwriting glibc, spotted by waldi.
* Major coreutils update.Manuel Novoa III2003-03-1930-248/+246
|
* Woops, my gunzip fix broke unzip, these cant be staticGlenn L McGrath2003-02-092-4/+4
|
* Moved to libunarchive/unzip.cGlenn L McGrath2003-02-091-69/+0
|
* Fix endian probelm on PPC, i had different types for an extern variable.Glenn L McGrath2003-02-093-27/+80
|
* Fix long standing bug with old gnu tar files, add a check so tar willGlenn L McGrath2003-01-283-19/+31
| | | | | | complain "unknown file type" if it tries to extract an oldgnu tar file and TAR_FEATURE_OLDGNU_COMPATABILITY sint defined. Print a warning if unisupported gnu extensions are encountered.
* A cleaner cleanup that avoids passing an off_t to scanfEric Andersen2002-12-111-5/+9
|
* squash a warningEric Andersen2002-12-111-1/+1
|
* Use libbb/get_line_from_file instead of getlineGlenn L McGrath2002-12-111-4/+2
|
* include busybox after libc includesGlenn L McGrath2002-12-101-2/+3
|
* rpm applet by Laurence AndersonGlenn L McGrath2002-12-107-161/+547
|
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath2002-12-089-36/+20
| | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
* Add some help descriptionsGlenn L McGrath2002-12-061-10/+44
|
* Kill the now obsolete docs/Configure.help file, and move all existingEric Andersen2002-12-051-2/+22
| | | | | help texts into their respective Config.in file. -Erik
* Yet another major rework of the BusyBox config system, using the considerablyEric Andersen2002-12-052-45/+158
| | | | | | | | modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
* Unlink before mkdir, mknod, symlink to overwriteGlenn L McGrath2002-12-041-0/+3
|
* Move compare_string_array to libbbGlenn L McGrath2002-12-021-13/+0
|
* fix warningGlenn L McGrath2002-12-012-2/+2
|
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-282-22/+8
|
* Use error_msg instead of printf(stderrGlenn L McGrath2002-11-281-7/+6
|
* StyleGlenn L McGrath2002-11-282-316/+298
|
* Check that one and only one of the [cxt] options is givenGlenn L McGrath2002-11-271-6/+14
|
* Use vfork instead of fork, some more cleanup from Vladimir N. OleynikGlenn L McGrath2002-11-251-31/+31
|
* Add an input buffer (currently 32kB) to speed things up heaps, it still ↵Glenn L McGrath2002-11-243-28/+77
| | | | requires 25% longer to decompress as compared to upstream.
* Fix long filename supportGlenn L McGrath2002-11-231-10/+17
|
* Speed and memory usage improvements from Laurence AdnersonGlenn L McGrath2002-11-202-164/+190
|
* read_gz patch 3 from Laurence AndersonGlenn L McGrath2002-11-202-144/+188
|
* Use read_gz, remove fork() woohoo!Glenn L McGrath2002-11-191-44/+9
|