Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-21 | Switch --to-command to use xsetenv() and fix a typo with -J | Rob Landley | |
2019-04-18 | Add -J support for xz | Rob Landley | |
2019-04-05 | Restore symlink times and add --restrict | Rob Landley | |
2019-04-05 | Minor tweaks and fix a bug with "tar cvzf tar.tgz" autodetecting when specified. | Rob Landley | |
2019-04-05 | tar: Fix -O | Rob Landley | |
2019-04-05 | tar cleanup: Hook up --exclude to filter plumbing | Rob Landley | |
2019-04-03 | More tar tests, and fix tar to pass them. | Rob Landley | |
2019-04-03 | Autodetect gzip and bz2 for both compression and decompression. | Rob Landley | |
2019-04-02 | Yeah, ok, that one can get used uninitialized. | Rob Landley | |
2019-04-02 | More tar cleanup, more tests. | Rob Landley | |
2019-04-02 | More tar cleanup and tests. | Rob Landley | |
2019-04-01 | Silence spurious gcc "lnk cannot be used uninitialized" warning. | Rob Landley | |
2019-04-01 | More tar cleanup. | Rob Landley | |
2019-03-31 | More tar cleanup, some tests. | Rob Landley | |
2019-03-31 | More tar cleanup. | Rob Landley | |
2019-03-27 | Skip file contents in error case. | Rob Landley | |
2019-03-27 | Silence another broken gcc "tar is never used uninitialized" warning. | Rob Landley | |
2019-03-27 | Cleanup extract_to_disk(), enforce "file creation must be under cwd), | Rob Landley | |
implement deferred utime updates (so directory timestamps correct). | |||
2019-03-22 | Silence stupid, pointless warnings. | Rob Landley | |
Two "is never used uninitialized" and one "we don't trust you to get clearly documented operator precedence right". (The compiler may not "suggest". Every time I go "abc && def || exit 1" in the shell it means I know the operator precedence _and_ the short-circuit rules, which are the same as C here. This is a warning aimed at C++ developers, it should not be enabled for C.) | |||
2019-03-22 | My todo entries were bothering people. | Rob Landley | |
2019-03-22 | More tar cleanup, add --owner and --group, and start of new tests. | Rob Landley | |
2019-03-20 | Next round of tar cleanup. | Rob Landley | |
2019-03-17 | More tar cleanup. | Rob Landley | |
2019-03-17 | More tar cleanup. | Rob Landley | |
2019-03-16 | Next round of tar cleanup. | Rob Landley | |
2019-03-13 | More tar cleanup. | Rob Landley | |
2019-03-11 | More tar cleanup. | Rob Landley | |
2019-03-06 | More tar cleanup. | Rob Landley | |
Dear gcc: if (i || node=blah) x = i ? blah : node; Don't complain "node may be used uninitialied", it can't be. That warning is a gcc bug. (I should add a node = node to the initialiation to shut up the warning, but gcc has failed to emit "may be used uninitialized" reliably for 15 years and it still does.) | |||
2019-03-04 | More tar cleanup. | Rob Landley | |
2019-03-03 | Cleanup pass on tar. | Rob Landley | |
2018-04-08 | Add mkpath() for common case of mkpathat(), and #define magic constants. | Rob Landley | |
2017-05-19 | Add bzip2 support to tar. | Elliott Hughes | |
Also trivial cleanup of pipe -> xpipe. Bug: http://b/38215123 | |||
2017-01-14 | Quick and dirty fix for CVE-2016-6321 but seriously this is in pending | Rob Landley | |
for a reason and I need to completely rewrite it. | |||
2016-11-21 | Have dirtree_notdotdot() pass through !node->parent so . and .. on the command | Rob Landley | |
line aren't filtered out. Audited all the callers and removed redundant calls, adjusted call sequence, etc. (And let rm _not_ do this, because posix.) | |||
2016-11-19 | Bug report from Justin Cormack, tar was producing a warning to stdout that | Rob Landley | |
screwed up "tar c" to stdout. | |||
2016-03-07 | Cleanup pass on the dirtree infrastructure, in preparation for making rm -r | Rob Landley | |
handle infinite depth. Fix docs, tweak dirtree_handle_callback() semantics, remove dirtree_start() and don't export dirtree_handle_callback(), instead offer dirtree_flagread(). (dirtree_read() is a wrapper around dirtree_flagread passing 0 for flags.) | |||
2016-03-02 | For years the man pages have said to #include <sys/types.h> to get | Rob Landley | |
major/minor/makedev, but glibc has vowed to break existing programs (https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html) and replace it with _another_ non-standard header (not in posix or lsb), so let's just add functions to lib/ that do the transform ourselves. | |||
2016-02-10 | toybox: tar: Fix support for long names | Tom Marshall | |
Pathnames may be longer than the name field in the header, so use strncpy() instead of xstrncpy() to avoid bailing out. Also add unit tests to ensure proper handling of short and long pathnames. Change-Id: Id025891993746889564b479e5185cf9721b54a55 | |||
2016-02-08 | Add xpipe() to lib. | Rob Landley | |
2015-05-09 | Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out from | Rob Landley | |
under traversal. Pass through full flag set in dirtree_add_node(), add dirtree_start() wrapper to provide symlink-only behavior (avoiding a lot of DIRTREE_SYMFOLLOW*!!(logic) repeated in callers). | |||
2015-03-03 | Quick cleanup pass on tar. | Rob Landley | |
2015-03-01 | fix format problems in tar.c | Elliott Hughes | |
%o is unsigned, but off_t is signed. * takes an int. an error_msg call was missing an argument. only one of these is an actual error, but i'd like to fix the others too so that we (toybox, but if not, then Android) can turn on format string warnings to prevent future bugs like the stat.c LP32 ones. | |||
2015-01-01 | Switch a lot of strncpy() calls to xstrncpy(). | Rob Landley | |
2014-08-12 | Patches to commands for issues reported from static analysis tool. | Ashwini Sharma | |
portability.h.patch - it is for O_CLOEXEC, as compiler complained of it. Makefile.patch - for cleaning generated/*.o files and libopts.dat file [Fixup to uniq.c from Rob.] | |||
2014-07-04 | TAR - this supports archive creation and extraction based on the USTAR ↵ | Ashwini Sharma | |
format (described in PAX Spec). For (de)compression '-z' gzip is supported. |