summaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2003-09-12Use the typeflag to identify if its a hardlink on OLD and GNU posixGlenn L McGrath
modes, fixes a bug extracting hardlinks to symlinks.
2003-09-11Marc A. Lehmann writes:Eric Andersen
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).
2003-09-09If a tar entry is a regualr file ending in a '/' then its really aGlenn L McGrath
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.
2003-08-28Dont unlink when testing !Glenn L McGrath
Always preserve creation date Disable the -p option its for modification date Remove some cpio header debugging noise Syncronise file listing behaviour with upstream.
2003-08-22trivial doc fixEric Andersen
2003-08-14Change hardlink handling for tar to work the same way as cpioGlenn L McGrath
2003-07-31Fix bug when handling debian packages.Glenn L McGrath
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.
2003-07-16Fixup problem unconditionally converting all hard links to symlinks.Eric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-14Patch from Thomas Cameron:Eric Andersen
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.
2003-07-05Be certain to not abort prematurely when reading stuff from pipes.Eric Andersen
2003-07-05As noted by Thomas Eckert:Eric Andersen
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
2003-07-05Patch from Kent Robotti adding a bunch of needed docs!Eric Andersen
-Erik
2003-07-05Glenn McGrath (bug1) isaway from my email till the 17th, but caught me on IRC.Eric Andersen
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.
2003-07-03Patch from Kent Robotti adding a bunch of menuconfig helpEric Andersen
2003-06-26last_patch91 from vodz to convert tar to use bb_getopt_ulflagsEric Andersen
2003-06-22Save a few bytes by using bb_getopt_ulflags and a few other minorGlenn L McGrath
improvments
2003-06-12Handle hard links by converting them to symlinksGlenn L McGrath
2003-05-18Handle -O preceding -x.Matt Kraai
2003-04-26Always preserve dateGlenn L McGrath
2003-04-21unlink a previous file before its extractedGlenn L McGrath
2003-04-21unlink() an existing file, before opening it, simply truncating canGlenn L McGrath
cause nasty problems if overwriting glibc, spotted by waldi.
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-09Woops, my gunzip fix broke unzip, these cant be staticGlenn L McGrath
2003-02-09Moved to libunarchive/unzip.cGlenn L McGrath
2003-02-09Fix endian probelm on PPC, i had different types for an extern variable.Glenn L McGrath
2003-01-28Fix long standing bug with old gnu tar files, add a check so tar willGlenn L McGrath
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.
2002-12-11A cleaner cleanup that avoids passing an off_t to scanfEric Andersen
2002-12-11squash a warningEric Andersen
2002-12-11Use libbb/get_line_from_file instead of getlineGlenn L McGrath
2002-12-10include busybox after libc includesGlenn L McGrath
2002-12-10rpm applet by Laurence AndersonGlenn L McGrath
2002-12-08Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
2002-12-06Add some help descriptionsGlenn L McGrath
2002-12-05Kill the now obsolete docs/Configure.help file, and move all existingEric Andersen
help texts into their respective Config.in file. -Erik
2002-12-05Yet another major rework of the BusyBox config system, using the considerablyEric Andersen
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
2002-12-04Unlink before mkdir, mknod, symlink to overwriteGlenn L McGrath
2002-12-02Move compare_string_array to libbbGlenn L McGrath
2002-12-01fix warningGlenn L McGrath
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-11-28Use error_msg instead of printf(stderrGlenn L McGrath
2002-11-28StyleGlenn L McGrath
2002-11-27Check that one and only one of the [cxt] options is givenGlenn L McGrath
2002-11-25Use vfork instead of fork, some more cleanup from Vladimir N. OleynikGlenn L McGrath
2002-11-24Add an input buffer (currently 32kB) to speed things up heaps, it still ↵Glenn L McGrath
requires 25% longer to decompress as compared to upstream.
2002-11-23Fix long filename supportGlenn L McGrath
2002-11-20Speed and memory usage improvements from Laurence AdnersonGlenn L McGrath
2002-11-20read_gz patch 3 from Laurence AndersonGlenn L McGrath
2002-11-19Use read_gz, remove fork() woohoo!Glenn L McGrath
2002-11-17Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵Glenn L McGrath
fork(), pipe(), consistent with read_bz2 and more flexible.