summaryrefslogtreecommitdiff
path: root/archival/tar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix -C option when creating tar files.Glenn L McGrath2003-10-021-30/+37
| | | | | | | | Need to chdir after the tar file is opened, so make common tar filename parsing and send the file descriptor rather than filename to writeTarFile. Modify the verboseFlag operation to determine wether to display on stderr or stdout at display time, simpler than doing it in tar_main.
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+1
|
* Be certain to not abort prematurely when reading stuff from pipes.Eric Andersen2003-07-051-1/+1
|
* 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
* 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.
* last_patch91 from vodz to convert tar to use bb_getopt_ulflagsEric Andersen2003-06-261-60/+56
|
* Handle -O preceding -x.Matt Kraai2003-05-181-1/+3
|
* Always preserve dateGlenn L McGrath2003-04-261-2/+1
|
* 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-191-28/+27
|
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath2002-12-081-3/+3
| | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
* 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
|
* Remove #defines around get_header_ptr, we allways need it.Glenn L McGrath2002-11-161-2/+0
|
* Dont chdir untill after we open the archiveGlenn L McGrath2002-11-151-4/+5
|
* Minor cleanupsGlenn L McGrath2002-11-131-14/+2
|
* Fix reading from stdin (me), Fix tar segfault when no arguments specified ↵Glenn L McGrath2002-11-081-5/+5
| | | | (Geoffrey Lee)
* Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵Glenn L McGrath2002-11-051-2/+1
| | | | junk (not sure why), add some missing files
* Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath2002-11-031-10/+11
| | | | descriptors, support tar -j
* A bugfix from Danny Lepage:Eric Andersen2002-10-261-1/+1
| | | | | | | It seems that under busybox unstable, "tar -c -f - blabla" create a tar file named "-" instead of writing to stdout. The included patch should fix this.
* Fix exclude/include problemGlenn L McGrath2002-10-191-18/+15
|
* Remove entries from the accept list as they are matched so we can determine ↵Glenn L McGrath2002-10-191-0/+6
| | | | if any files that were specified in the list wernt found.
* Dont use absolute pathname (dunno why i did that), fix tar filename/stdin ↵Glenn L McGrath2002-10-191-16/+25
| | | | problems
* Put bac kthe code that handles cases where a '-' wasnt specified prior to ↵Glenn L McGrath2002-10-181-0/+8
| | | | the options.
* last_patch61 from vodz:Eric Andersen2002-10-101-6/+6
| | | | | | | | | New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in.
* Fix segfault when testing if reaidng from stdin "-"Glenn L McGrath2002-10-061-1/+3
|
* Vodz' last_patch57:Eric Andersen2002-09-301-5/+3
| | | | | | | | | | | | | | | Hi, Erik. my_getpw(uid/gid) and applets used it have problem: if username for uid not found, applets can`t detect it (but code pessent). Also "%8ld " format is bad: spaces not required (applets have self format or spec format (tar applet) and overflow for "id" applet...) This problem also pressent in stable version. Patch for unstable in attach. --w vodz
* Fix for using '-' as the filename when reading from stdinGlenn L McGrath2002-09-281-9/+7
|
* New common unarchive code.Glenn L McGrath2002-09-251-136/+107
|
* Run through indent, use /* */ style comments, change extern to staticGlenn L McGrath2002-08-221-286/+260
|
* Tar inlining, #if 0 out unused functionAaron Lehmann2002-08-211-5/+7
|
* Added tar -cz support (creating gzipped tar files without a gzip pipe)Robert Griebl2002-07-231-25/+94
|
* Update some missing copyright noticesEric Andersen2002-04-131-1/+1
|
* Parse the include list to writeTarFile rather than argv, fixes a bug where ↵Glenn L McGrath2002-02-151-2/+1
| | | | tar files wernt being created.
* Fix condition that prevented creation of compressed filesGlenn L McGrath2002-02-131-1/+1
|
* * archival/tar.c (tar_main): Remove unused variable.Matt Kraai2002-01-081-4/+0
|
* * archival/dpkg.c (create_list): Use chomp.Matt Kraai2002-01-021-5/+1
| | | | * archival/tar.c (append_file_list_to_list): Likewise.
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-4/+4
|
* Perform clean up only if CONFIG_FEATURE_CLEAN_UP is defined.Matt Kraai2001-12-201-0/+2
|
* Write files when extracting an archive from standard input.Matt Kraai2001-12-201-16/+8
|
* Things like 'tar -c /tmp/*' and 'tar -cO /tmp/*' where the outputEric Andersen2001-12-181-1/+5
| | | | | filename was not explicitly specified were segfaulting. -Erik
* Minor warning cleanupsEric Andersen2001-11-171-0/+2
|
* Eliminate unused variable warnings.Matt Kraai2001-11-121-0/+2
|
* Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE blockEric Andersen2001-10-271-0/+2
|
* Recovering from my previous commitGlenn L McGrath2001-10-251-0/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-16/+16
| | | | -Erik
* unarchive function changed to support both exclude and include lists, ↵Glenn L McGrath2001-10-131-27/+4
| | | | applets that use unarchive changed to match.
* Reverse part of previous change.... i think it was the wrong approach... im lostGlenn L McGrath2001-10-131-5/+1
|
* Match subdirectories of included/excluded filesGlenn L McGrath2001-10-131-12/+17
|
* Superficial changes to make the exclude/include code easier to understandGlenn L McGrath2001-10-131-22/+34
|