aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
AgeCommit message (Collapse)Author
2002-10-19Fix exclude/include problemGlenn 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-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-28Fix for using '-' as the filename when reading from stdinGlenn L McGrath
2002-09-25New common unarchive code.Glenn L McGrath
2002-08-22Run through indent, use /* */ style comments, change extern to staticGlenn L McGrath
2002-08-21Tar inlining, #if 0 out unused functionAaron Lehmann
2002-07-23Added tar -cz support (creating gzipped tar files without a gzip pipe)Robert Griebl
2002-04-13Update some missing copyright noticesEric Andersen
2002-02-15Parse the include list to writeTarFile rather than argv, fixes a bug where ↵Glenn L McGrath
tar files wernt being created.
2002-02-13Fix condition that prevented creation of compressed filesGlenn L McGrath
2002-01-08* archival/tar.c (tar_main): Remove unused variable.Matt Kraai
2002-01-02* archival/dpkg.c (create_list): Use chomp.Matt Kraai
* archival/tar.c (append_file_list_to_list): Likewise.
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-20Perform clean up only if CONFIG_FEATURE_CLEAN_UP is defined.Matt Kraai
2001-12-20Write files when extracting an archive from standard input.Matt Kraai
2001-12-18Things like 'tar -c /tmp/*' and 'tar -cO /tmp/*' where the outputEric Andersen
filename was not explicitly specified were segfaulting. -Erik
2001-11-17Minor warning cleanupsEric Andersen
2001-11-12Eliminate unused variable warnings.Matt Kraai
2001-10-27Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE blockEric Andersen
2001-10-25Recovering from my previous commitGlenn L McGrath
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-13unarchive function changed to support both exclude and include lists, ↵Glenn L McGrath
applets that use unarchive changed to match.
2001-10-13Reverse part of previous change.... i think it was the wrong approach... im lostGlenn L McGrath
2001-10-13Match subdirectories of included/excluded filesGlenn L McGrath
2001-10-13Superficial changes to make the exclude/include code easier to understandGlenn L McGrath
2001-10-12Fix tar segfault when include list is empty and exclude list is not.Matt Kraai
2001-10-05Change extraction/list code to use common unarchive code.Glenn L McGrath
2001-08-24Canonicalize dirname(3) behavior.Matt Kraai
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-10Read 20 512-byte blocks at a time (like GNU tar).Matt Kraai
2001-07-03Remove a redundant call to mkdir.Matt Kraai
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-20Changed gz_open to ruturn a streamGlenn 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-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-22Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai
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-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