aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2002-11-19Use read_gz, remove fork() woohoo!Glenn L McGrath
2002-11-17Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵Glenn L McGrath
fork(), pipe(), consistent with read_bz2 and more flexible.
2002-11-16Remove #defines around get_header_ptr, we allways need it.Glenn L McGrath
2002-11-15Allow short reads as we are looping anyway.Glenn L McGrath
2002-11-15Dont chdir untill after we open the archiveGlenn L McGrath
2002-11-13Minor cleanupsGlenn L McGrath
2002-11-12Reduce block size to 512 to prevent short read's when reading from a pipeGlenn L McGrath
2002-11-08#ifdef, not just #if... grrrGlenn L McGrath
2002-11-08Fix reading from stdin (me), Fix tar segfault when no arguments specified ↵Glenn L McGrath
(Geoffrey Lee)
2002-11-06Use a switch instead of successive if (strcmp()) statments.Glenn L McGrath
2002-11-06Split deb_extract() into more generic functionsGlenn L McGrath
2002-11-06Terminate the buffer with a '\0'Glenn L McGrath
2002-11-05Support for bziped debs, i.e. use .tar.bz2 instead .tar.gz internallyGlenn L McGrath
2002-11-05Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵Glenn L McGrath
junk (not sure why), add some missing files
2002-11-05enable .tar.bz2 for dpkg-debGlenn L McGrath
2002-11-04Change filter paramaters, filters can be more powefull nowGlenn L McGrath
2002-11-03Call lseek directly rather than via data_align()Glenn L McGrath
2002-11-03Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath
descriptors, support tar -j
2002-11-03Fix #define syntaxGlenn L McGrath
2002-11-03Move data_extract_all_prefix to dpkg, its only used there.Glenn L McGrath
2002-11-03Add copyright notice and license, use strcat+strcpy instead of sprintfGlenn L McGrath
2002-11-03Use xread_char to save a few bytes, fix indenting of commentsGlenn L McGrath
2002-11-03Move bunzip2 idecompression code to libunarchiveGlenn L McGrath
2002-11-01Make uncompress a seperate applet so it doesnt pull in all the gunzip codeGlenn L McGrath
2002-11-01Allow short reads when filling compress bufferGlenn L McGrath
2002-11-01Allow the .Z prefix if compress support enabledGlenn L McGrath
2002-11-01Make it a fatal error if bad chksum or crc, if not we should return an error ↵Glenn L McGrath
code
2002-11-01Report errror if the first magic character doesnt matchGlenn L McGrath
2002-10-26A bugfix from Danny Lepage:Eric Andersen
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.
2002-10-22Move unzip.c uncompress.c from libbb to archiveal/libunarchiveGlenn L McGrath
2002-10-19Update dpkg to use new unarchive codeGlenn L McGrath
2002-10-19Fix exclude/include problemGlenn L McGrath
2002-10-19Find a string in a listGlenn L McGrath
2002-10-19Remove entries from the accept list as they are matched so we can determine ↵Glenn L McGrath
if any files that were specified in the list wernt found.
2002-10-19Dont use absolute pathname (dunno why i did that), fix tar filename/stdin ↵Glenn L McGrath
problems
2002-10-18Put bac kthe code that handles cases where a '-' wasnt specified prior to ↵Glenn L McGrath
the options.
2002-10-18Fix an obvious thinkoEric Andersen
-Erik
2002-10-10last_patch61 from vodz:Eric Andersen
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.
2002-10-06Fix segfault when testing if reaidng from stdin "-"Glenn L McGrath
2002-09-30Vodz' last_patch57:Eric Andersen
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
2002-09-30Patch from Konstantin Isakov <ikm@pisem.net>:Eric Andersen
In most cases, dirname returns the same argument it was given, so this code works nice, but there's one special case: when the name contains no dirname, it returns "." (stored statically in the body of itself), and we get a segfault in attempt to free() it. This patch fixes this problem.
2002-09-30Save status so we know if to delete compressed fileGlenn L McGrath
2002-09-28Fix for using '-' as the filename when reading from stdinGlenn L McGrath
2002-09-27Fix compress support and prevent a segfaultGlenn L McGrath
2002-09-26Fix simple define problemGlenn L McGrath
2002-09-25Remove files made obsolete by new unarchiving codeGlenn L McGrath
2002-09-25New common unarchive code.Glenn L McGrath
2002-09-17Modified so that it "works" for archs other than i386... arm in particular.Manuel Novoa III
Also tried to clean up the logic a little, and ensure that read errors or invalid archives resulted in error returns. This could use a lot more work... Volunteers?
2002-09-16Patch from Matthias Lang <matthias@corelatus.se> to fix gunzipEric Andersen
error handling and prevent gunzip from hanging.
2002-09-15Support for GNU style long filename and linknamesGlenn L McGrath