aboutsummaryrefslogtreecommitdiff
path: root/libbb/unarchive.c
AgeCommit message (Collapse)Author
2001-08-28Use the correct buffer when calling dirname, improve an error message, andMatt Kraai
plug some memory leaks. Patch by Laurence Anderson.
2001-08-24Canonicalize dirname(3) behavior.Matt Kraai
2001-08-04Fix exclude list handlingGlenn L McGrath
2001-08-02Some libc5 cleanupsEric Andersen
2001-07-18Fix extract_archive so it doesnt mangle filenames, dont try and extract "./" ↵Glenn L McGrath
and strip leading "./" on other files
2001-07-18Fail silently on failure to read tar header, its unfortunate that many tar ↵Glenn L McGrath
implementations must be adding unwanted crap to the end of their archives. It makes error reporting here more trouble than its worth
2001-07-14Allow the unarchive() extract_list variable to be NULL, meaning extract allGlenn L McGrath
2001-07-13Return NULL if file doesnt open in deb_extractGlenn L McGrath
2001-07-13Make sure there is a trailing '\0' when extracting to buffer.Glenn 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-12Quiet mode, sometimes error messages arent wantedGlenn L McGrath
2001-07-11Allow unarchive to redirect stdout (tobe used by dpkg applet)Glenn L McGrath
2001-07-11Reverse part of my previous changesGlenn L McGrath
2001-07-11minor dmalloc inspired cleanupsGlenn L McGrath
2001-06-26Don't use void * to pass pointers of known typeEric 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-22Fix the build process so it does not do the evil #ifdef BB_FOO stuff.Eric Andersen
Build exactly one .o file per function, and let the linker throw away the junk it doesn't want. -Erik
2001-06-22Dont change date or chmod on symlinks, lchown on symlinks if lchown availableGlenn L McGrath
2001-06-22remove defines around unarchive, its always usedGlenn L McGrath
2001-06-22comment cleanupTim Riker
2001-06-22create_path -> make_directoryTim Riker
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