aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* s/fileno\(stdin\)/STDIN_FILENO/gandersen2004-03-271-2/+2
| | | | | | | s/fileno\(stdout\)/STDOUT_FILENO/g git-svn-id: svn://busybox.net/trunk/busybox@8663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-11/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the -h, --dereference option for archive creation.bug12004-01-251-5/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Isolate code better for unused options, config option to enable longbug12003-12-261-54/+128
| | | | | | | options, add some conditions to the tar tests in testsuite. git-svn-id: svn://busybox.net/trunk/busybox@8182 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As we no longer use function pointers for read in common archiving codebug12003-11-211-14/+3
| | | | | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend. git-svn-id: svn://busybox.net/trunk/busybox@7984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tar-handles-nested-exclude testcasebug12003-11-201-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check at least one context is specifiedbug12003-11-201-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7958 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check there are files to add the archive before removing a specifiedbug12003-11-201-5/+4
| | | | | | | tar file. git-svn-id: svn://busybox.net/trunk/busybox@7957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar -Z, uncompress supportbug12003-11-181-1/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7942 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make unlink old files default behaviour and add a new option -k tobug12003-11-181-19/+23
| | | | | | | prevent overwritting existing files git-svn-id: svn://busybox.net/trunk/busybox@7940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Catch unsupported featuresbug12003-11-141-7/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix -C option when creating tar files.bug12003-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. git-svn-id: svn://busybox.net/trunk/busybox@7589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be certain to not abort prematurely when reading stuff from pipes.andersen2003-07-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As noted by Thomas Eckert: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 git-svn-id: svn://busybox.net/trunk/busybox@7043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Glenn McGrath (bug1) isaway from my email till the 17th, but caught me on IRC.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. git-svn-id: svn://busybox.net/trunk/busybox@7036 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch91 from vodz to convert tar to use bb_getopt_ulflagsandersen2003-06-261-60/+56
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6982 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Handle -O preceding -x.kraai2003-05-181-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always preserve datebug12003-04-261-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6817 69ca8d6d-28ef-0310-b511-8ec308f3f277
* unlink() an existing file, before opening it, simply truncating canbug12003-04-211-1/+2
| | | | | | | cause nasty problems if overwriting glibc, spotted by waldi. git-svn-id: svn://busybox.net/trunk/busybox@6803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-28/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵bug12002-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). git-svn-id: svn://busybox.net/trunk/busybox@6132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check that one and only one of the [cxt] options is givenbug12002-11-271-6/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use vfork instead of fork, some more cleanup from Vladimir N. Oleynikbug12002-11-251-31/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6014 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove #defines around get_header_ptr, we allways need it.bug12002-11-161-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5948 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont chdir untill after we open the archivebug12002-11-151-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5931 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanupsbug12002-11-131-14/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix reading from stdin (me), Fix tar segfault when no arguments specified ↵bug12002-11-081-5/+5
| | | | | | (Geoffrey Lee) git-svn-id: svn://busybox.net/trunk/busybox@5871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵bug12002-11-051-2/+1
| | | | | | junk (not sure why), add some missing files git-svn-id: svn://busybox.net/trunk/busybox@5808 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Abstract read and seek in unarchiving code, convert bunzip to file ↵bug12002-11-031-10/+11
| | | | | | descriptors, support tar -j git-svn-id: svn://busybox.net/trunk/busybox@5787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bugfix from Danny Lepage: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. git-svn-id: svn://busybox.net/trunk/busybox@5712 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exclude/include problembug12002-10-191-18/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5676 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove entries from the accept list as they are matched so we can determine ↵bug12002-10-191-0/+6
| | | | | | if any files that were specified in the list wernt found. git-svn-id: svn://busybox.net/trunk/busybox@5674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont use absolute pathname (dunno why i did that), fix tar filename/stdin ↵bug12002-10-191-16/+25
| | | | | | problems git-svn-id: svn://busybox.net/trunk/busybox@5671 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put bac kthe code that handles cases where a '-' wasnt specified prior to ↵bug12002-10-181-0/+8
| | | | | | the options. git-svn-id: svn://busybox.net/trunk/busybox@5670 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch61 from vodz: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. git-svn-id: svn://busybox.net/trunk/busybox@5640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix segfault when testing if reaidng from stdin "-"bug12002-10-061-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz' last_patch57: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 git-svn-id: svn://busybox.net/trunk/busybox@5613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for using '-' as the filename when reading from stdinbug12002-09-281-9/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New common unarchive code.bug12002-09-251-136/+107
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, use /* */ style comments, change extern to staticbug12002-08-221-286/+260
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5334 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tar inlining, #if 0 out unused functionaaronl2002-08-211-5/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added tar -cz support (creating gzipped tar files without a gzip pipe)sandman2002-07-231-25/+94
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5077 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update some missing copyright noticesandersen2002-04-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Parse the include list to writeTarFile rather than argv, fixes a bug where ↵bug12002-02-151-2/+1
| | | | | | tar files wernt being created. git-svn-id: svn://busybox.net/trunk/busybox@4210 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix condition that prevented creation of compressed filesbug12002-02-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4202 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * archival/tar.c (tar_main): Remove unused variable.kraai2002-01-081-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * archival/dpkg.c (create_list): Use chomp.kraai2002-01-021-5/+1
| | | | | | | * archival/tar.c (append_file_list_to_list): Likewise. git-svn-id: svn://busybox.net/trunk/busybox@3993 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Perform clean up only if CONFIG_FEATURE_CLEAN_UP is defined.kraai2001-12-201-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3924 69ca8d6d-28ef-0310-b511-8ec308f3f277