summaryrefslogtreecommitdiff
path: root/archival/tar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
|
* Fix tar segfault when include list is empty and exclude list is not.Matt Kraai2001-10-121-3/+6
|
* Change extraction/list code to use common unarchive code.Glenn L McGrath2001-10-051-711/+313
|
* Canonicalize dirname(3) behavior.Matt Kraai2001-08-241-2/+4
|
* Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵Glenn L McGrath2001-07-131-0/+4
| | | | supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
* Read 20 512-byte blocks at a time (like GNU tar).Matt Kraai2001-07-101-3/+3
|
* Remove a redundant call to mkdir.Matt Kraai2001-07-031-9/+1
|
* comment cleanupTim Riker2001-06-221-1/+1
|
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-211-3/+4
|
* Support tar -C, per bug #1176Eric Andersen2001-06-211-2/+12
| | | | -Erik
* Add in (and ignore) tar -p, since we preserver permissions automatically.Eric Andersen2001-06-211-3/+5
| | | | | closes bug #1185 -Erik
* it turs out, there was a nasty tar bug where bb tar would create leading dirsEric Andersen2001-06-201-8/+0
| | | | | | | with mode 0777 in all cases due to usask issues. Thanks to Matt Kraai for noticing and spotting the culprit. This makes bb tar behave just like GNU tar once again. -Erik
* Changed gz_open to ruturn a streamGlenn L McGrath2001-06-201-1/+1
|
* Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to neverEric Andersen2001-06-041-7/+2
| | | | | | | change permissions on existing directories. This behavior is contrary to SUSv2 and contrary to GNU tar. Thanks to Matt Kraai for pointing this out. I should have been much more careful about accepting such a patch. -Erik
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-6/+6
|
* Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai2001-05-221-1/+1
|
* Do not ever change permissions on existing directories, onlyEric Andersen2001-05-131-2/+6
| | | | | | | on directories we created while extracting a tarball. Fix based on bug report and patch from Konstantin Boldyshev <konst@linuxassembly.org> -Erik
* Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen2001-05-071-0/+2
| | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
* Skip headers with empty filenames, rather than stopping.Matt Kraai2001-05-011-1/+1
|
* Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley2001-04-301-9/+3
| | | | readlink(2).
* Logic reversal for last_char_isGlenn L McGrath2001-04-291-1/+1
|
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-04-261-1/+1
| | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen2001-04-251-4/+0
| | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
* readTarFile changed from exter nto staticGlenn L McGrath2001-04-111-2/+2
|
* replace getOctal with strtol( , NULL, 8)Glenn L McGrath2001-04-111-28/+8
| | | | saves 100 Bytes
* Move unzip, gz_open, gz_close to libbbGlenn L McGrath2001-04-111-6/+0
|
* Fixes from Robert KaiserGlenn L McGrath2001-03-281-4/+5
|
* Remove cruftGlenn L McGrath2001-03-281-2/+0
|
* Remove tar_unzip_init() not needed any more, uses gz_open insteadGlenn L McGrath2001-03-281-37/+0
|
* Fix tar -z, calls gz_open nowGlenn L McGrath2001-03-281-2/+18
|
* Gunzip changes broke tar -z support (woops)Glenn L McGrath2001-03-281-2/+1
|
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-4/+4
| | | | namespace polluting things that really should be static.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-5/+5
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix wget error message and add (and use) chomp library function.Matt Kraai2001-02-011-2/+1
|
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-20/+20
|
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik