summaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor update to include file orderingEric Andersen2001-07-071-1/+1
|
* Remove a redundant call to mkdir.Matt Kraai2001-07-031-9/+1
|
* Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton ofEric Andersen2001-07-021-1129/+193
| | | | portability junk from gzip.c, making it a zillion times more readable.
* Add some missing includes to kill warnings when building with the defaultManuel Novoa III2001-06-292-0/+2
| | | | | | | Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
* Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen2001-06-272-2/+2
| | | | <amodra@bigpond.net.au>, which caused false checksum errors
* rpm2cpio applet by Laurence AndersonGlenn L McGrath2001-06-261-0/+92
|
* Fix up some warnings that show up on ppcEric Andersen2001-06-251-1/+1
|
* Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath2001-06-242-5/+4
|
* cpio applet, and changes to associated codeGlenn L McGrath2001-06-223-2/+96
|
* comment cleanupTim Riker2001-06-221-1/+1
|
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-212-4/+5
|
* 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
* Initialise in_file to stdin, so it wont crash if no source specifiedGlenn L McGrath2001-06-201-2/+2
|
* Changed gz_open to ruturn a streamGlenn L McGrath2001-06-201-1/+1
|
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath2001-06-202-22/+22
| | | | | | more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only
* Reorganise archive extraction codeGlenn L McGrath2001-06-133-120/+98
|
* 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
* Fix up some signed char vs int issues that show up on powerpc.Eric Andersen2001-05-241-1/+1
|
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-6/+6
|
* Make - read compressed data from stdin (thanks to Marius Groeger).Matt Kraai2001-05-221-1/+1
|
* Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai2001-05-221-1/+1
|
* Remove unused function. If necessary, we can use remove_file instead.Matt Kraai2001-05-171-31/+0
|
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai2001-05-162-2/+2
| | | | by Larry Doolittle.
* 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
* woops, forgot the break statmentGlenn L McGrath2001-05-071-0/+1
|
* Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath2001-05-072-2/+6
| | | | than just fail
* 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-262-2/+2
| | | | | | 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-255-19/+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
* Eliminate spurious warning, convert to getopt, and eliminate redundant check.Matt Kraai2001-04-182-29/+23
|
* Fix a number of problems with argument handling.Matt Kraai2001-04-181-49/+29
|
* Eliminate a segfault when called on an existing file with out an extension:Matt Kraai2001-04-181-2/+2
| | | | touch foo && gunzip foo
* Eliminated seeks so that we work correctly on pipes, and removed reliance onMatt Kraai2001-04-182-4/+18
| | | | | undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution.
* Fix zcat/gunzip when reading from stdinGlenn L McGrath2001-04-181-26/+28
|
* Write full status fileGlenn L McGrath2001-04-161-19/+76
|
* dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath2001-04-162-197/+193
| | | | | | rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
* dpkg-deb -f and partial -I commands, adds 600 bytesGlenn L McGrath2001-04-131-21/+27
|
* Rename variable that shadows globalGlenn L McGrath2001-04-121-16/+16
|
* New dpkg-deb function -t, stands for --fsys-tarfileGlenn L McGrath2001-04-121-1/+4
|
* dpkg-deb -c works nowGlenn L McGrath2001-04-121-6/+9
|
* Fix dpkg-deb, enum's are coolGlenn L McGrath2001-04-121-18/+17
|
* readTarFile changed from exter nto staticGlenn L McGrath2001-04-111-2/+2
|
* copy_file_chunk uses streams now.Glenn L McGrath2001-04-113-35/+37
|
* Disable sigtermGlenn L McGrath2001-04-112-6/+6
|
* replace getOctal with strtol( , NULL, 8)Glenn L McGrath2001-04-111-28/+8
| | | | saves 100 Bytes