aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2001-07-30If filename is a '-' then read from stdin to stdoutGlenn L McGrath
2001-07-19Cleanup (most) memory leaksGlenn L McGrath
2001-07-18Change read_package_field interface, and rewrite using low level functionsGlenn L McGrath
Fixes for a few bugs that have crept into dpkg in the last few days
2001-07-18Use the unofficial -C instead of -c to --configure a package, -c conflicts ↵Glenn L McGrath
with another dpkg command
2001-07-18More feedback to userGlenn L McGrath
2001-07-18Be more verbose when configureing package, minor changesGlenn L McGrath
2001-07-18Use xfopen to abort on error to prevent segfaulting later.Glenn L McGrath
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
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)
2001-07-14Allow the unarchive() extract_list variable to be NULL, meaning extract allGlenn L McGrath
2001-07-14Tolerate fields with no data, e.g. "Depends: "Glenn L McGrath
2001-07-13Total rewrite, uses hash tables for speed and low memory use.Glenn L McGrath
2001-07-13Dont setvbuff in here, must be called just after stream is initialised, ↵Glenn L McGrath
glibc tolerates using it later, uclibc doesnt
2001-07-13Call setvbuf from here isntead of gz_open for compatability with uclibcGlenn L McGrath
2001-07-13Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵Glenn L McGrath
supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
2001-07-11Allow unarchive to redirect stdout (tobe used by dpkg applet)Glenn L McGrath
2001-07-11free coniditionally, just to make it play nice with dmalloc which is ↵Glenn L McGrath
incompatable with standard free()
2001-07-11Unpack the filename not the package nameGlenn L McGrath
2001-07-10Read 20 512-byte blocks at a time (like GNU tar).Matt Kraai
2001-07-07Minor update to include file orderingEric Andersen
2001-07-03Remove a redundant call to mkdir.Matt Kraai
2001-07-02Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton ofEric Andersen
portability junk from gzip.c, making it a zillion times more readable.
2001-06-29Add some missing includes to kill warnings when building with the defaultManuel Novoa III
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.
2001-06-27Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen
<amodra@bigpond.net.au>, which caused false checksum errors
2001-06-26rpm2cpio applet by Laurence AndersonGlenn L McGrath
2001-06-25Fix up some warnings that show up on ppcEric Andersen
2001-06-24Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath
2001-06-22cpio applet, and changes to associated codeGlenn L McGrath
2001-06-22comment cleanupTim Riker
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-21Support tar -C, per bug #1176Eric Andersen
-Erik
2001-06-21Add in (and ignore) tar -p, since we preserver permissions automatically.Eric Andersen
closes bug #1185 -Erik
2001-06-20it turs out, there was a nasty tar bug where bb tar would create leading dirsEric Andersen
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
2001-06-20Initialise in_file to stdin, so it wont crash if no source specifiedGlenn L McGrath
2001-06-20Changed gz_open to ruturn a streamGlenn L McGrath
2001-06-20Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath
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
2001-06-13Reorganise archive extraction codeGlenn L McGrath
2001-06-04Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to neverEric Andersen
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
2001-05-24Fix up some signed char vs int issues that show up on powerpc.Eric Andersen
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-22Make - read compressed data from stdin (thanks to Marius Groeger).Matt Kraai
2001-05-22Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai
2001-05-17Remove unused function. If necessary, we can use remove_file instead.Matt Kraai
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
2001-05-13Do not ever change permissions on existing directories, onlyEric Andersen
on directories we created while extracting a tarball. Fix based on bug report and patch from Konstantin Boldyshev <konst@linuxassembly.org> -Erik
2001-05-07Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen
make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
2001-05-07woops, forgot the break statmentGlenn L McGrath
2001-05-07Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath
than just fail
2001-05-01Skip headers with empty filenames, rather than stopping.Matt Kraai
2001-04-30Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley
readlink(2).
2001-04-29Logic reversal for last_char_isGlenn L McGrath