aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* If filename is a '-' then read from stdin to stdoutbug12001-07-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup (most) memory leaksbug12001-07-191-32/+57
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change read_package_field interface, and rewrite using low level functionsbug12001-07-182-77/+63
| | | | | | | Fixes for a few bugs that have crept into dpkg in the last few days git-svn-id: svn://busybox.net/trunk/busybox@3122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the unofficial -C instead of -c to --configure a package, -c conflicts ↵bug12001-07-181-2/+2
| | | | | | with another dpkg command git-svn-id: svn://busybox.net/trunk/busybox@3120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More feedback to userbug12001-07-181-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3118 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be more verbose when configureing package, minor changesbug12001-07-181-9/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xfopen to abort on error to prevent segfaulting later.bug12001-07-181-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-172-20/+12
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow the unarchive() extract_list variable to be NULL, meaning extract allbug12001-07-142-11/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tolerate fields with no data, e.g. "Depends: "bug12001-07-141-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3096 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Total rewrite, uses hash tables for speed and low memory use.bug12001-07-131-679/+1248
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3094 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont setvbuff in here, must be called just after stream is initialised, ↵bug12001-07-132-6/+0
| | | | | | glibc tolerates using it later, uclibc doesnt git-svn-id: svn://busybox.net/trunk/busybox@3091 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Call setvbuf from here isntead of gz_open for compatability with uclibcbug12001-07-131-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3089 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵bug12001-07-132-0/+7
| | | | | | supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt. git-svn-id: svn://busybox.net/trunk/busybox@3087 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow unarchive to redirect stdout (tobe used by dpkg applet)bug12001-07-112-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3070 69ca8d6d-28ef-0310-b511-8ec308f3f277
* free coniditionally, just to make it play nice with dmalloc which is ↵bug12001-07-112-4/+12
| | | | | | incompatable with standard free() git-svn-id: svn://busybox.net/trunk/busybox@3063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unpack the filename not the package namebug12001-07-111-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Read 20 512-byte blocks at a time (like GNU tar).kraai2001-07-101-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3050 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor update to include file orderingandersen2001-07-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3033 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove a redundant call to mkdir.kraai2001-07-031-9/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2988 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton ofandersen2001-07-021-1129/+193
| | | | | | | portability junk from gzip.c, making it a zillion times more readable. git-svn-id: svn://busybox.net/trunk/busybox@2970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add some missing includes to kill warnings when building with the defaultmjn32001-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. git-svn-id: svn://busybox.net/trunk/busybox@2950 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a type promotion bug discivered and analyzed by Alan Modraandersen2001-06-272-2/+2
| | | | | | | <amodra@bigpond.net.au>, which caused false checksum errors git-svn-id: svn://busybox.net/trunk/busybox@2917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rpm2cpio applet by Laurence Andersonbug12001-06-261-0/+92
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2902 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some warnings that show up on ppcandersen2001-06-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nore unarchive (and doc) fixes from Laurence Andersonbug12001-06-242-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2894 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cpio applet, and changes to associated codebug12001-06-223-2/+96
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* comment cleanuptimr2001-06-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2877 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote mkdir (and touched lots of things in the process).kraai2001-06-212-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support tar -C, per bug #1176andersen2001-06-211-2/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in (and ignore) tar -p, since we preserver permissions automatically.andersen2001-06-211-3/+5
| | | | | | | | closes bug #1185 -Erik git-svn-id: svn://busybox.net/trunk/busybox@2870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* it turs out, there was a nasty tar bug where bb tar would create leading dirsandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2866 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initialise in_file to stdin, so it wont crash if no source specifiedbug12001-06-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2865 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed gz_open to ruturn a streambug12001-06-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵bug12001-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 git-svn-id: svn://busybox.net/trunk/busybox@2862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise archive extraction codebug12001-06-133-120/+98
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2823 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to neverandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some signed char vs int issues that show up on powerpc.andersen2001-05-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2719 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-231-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make - read compressed data from stdin (thanks to Marius Groeger).kraai2001-05-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correctly remove leading slashes upon extraction (thanks to Marius Groeger).kraai2001-05-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unused function. If necessary, we can use remove_file instead.kraai2001-05-171-31/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.ckraai2001-05-162-2/+2
| | | | | | | by Larry Doolittle. git-svn-id: svn://busybox.net/trunk/busybox@2653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not ever change permissions on existing directories, onlyandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2632 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,andersen2001-05-071-0/+2
| | | | | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* woops, forgot the break statmentbug12001-05-071-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2548 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tolerate -q argument, if -q is passed give a warning and continue rather ↵bug12001-05-072-2/+6
| | | | | | than just fail git-svn-id: svn://busybox.net/trunk/busybox@2547 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Skip headers with empty filenames, rather than stopping.kraai2001-05-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2508 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made new xreadlink function for libbb and changed applets to use it instead ofmarkw2001-04-301-9/+3
| | | | | | | readlink(2). git-svn-id: svn://busybox.net/trunk/busybox@2495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Logic reversal for last_char_isbug12001-04-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2488 69ca8d6d-28ef-0310-b511-8ec308f3f277