Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-18 | Fix WARN_ONLY (and the one caller feeding it in the field it was checking). | Rob Landley | |
2020-03-13 | Fix various typos. | Elliott Hughes | |
In case I'm not yet in the running for the most pedantic change of this release, I think the "days of the week are written with initial capitals in English" subset of this patch is a strong contender. (Found via `toybox help -a | ispell -l | sort | uniq`.) | |||
2020-02-02 | Canonicalize the usage: lines for the POSIX toys. | Elliott Hughes | |
This only touches 24 of the 68 toys/posix/ files --- the others were already canonical. Potentially contentious, so worth stating explicitly, is that there were 8 matches for "COMMAND..." amongst all existing help output, with 7 matches for various inconsistent variants involving something with "ARG", so I resolved that in favor of using "COMMAND..." (which is also shorter overall, and avoids nested []s). | |||
2019-12-28 | Change variable type to avoid typecast. | Rob Landley | |
2019-12-28 | tar: fix memory write error | Emmanuel Nicolet | |
Clear the last byte of the allocated buffer. | |||
2019-11-13 | Pedantic constant annotations to shut up older toolchains. | Rob Landley | |
2019-10-27 | Tar extract should delete files or symlinks where it's making a directory, | Rob Landley | |
but --restrict checking should run on the path up to the last component before unlinking so tar can't be tricked into deleting random files off the system. | |||
2019-10-04 | Fix extracting old tarballs, not just -tv of them. | Rob Landley | |
2019-10-03 | Improve support for extracting older tarball formats. | Rob Landley | |
2019-09-18 | Fix tar creation with hole at end. | Rob Landley | |
The "gratuitous extra entry" is only gratuitous when there isn't a hole. (Which we can detect and not include but then we wouldn't match other implementations.) | |||
2019-09-16 | bug: tar tvf blah.tar.xz was running xz when it meant xzcat. | Rob Landley | |
2019-09-15 | Fix tar files that end sparse (need to call truncate), and display/export | Rob Landley | |
length of sparse files properly. | |||
2019-06-25 | tar: implement --mode. | Elliott Hughes | |
Used by build/make/tools/mktarball.sh in AOSP. (Which is why today's switch to toybox tar got reverted.) | |||
2019-06-01 | Teach file to recognize xz archives and old style tarballs. | Rob Landley | |
2019-06-01 | Teach tar to extract older tarballs. | Rob Landley | |
2019-05-25 | Toybox doesn't provide bzip2 or xz compression side (and the roadmap has it as | Rob Landley | |
out of scope), but the AOSP build airlock doesn't provide bzcat and friends. So tar needs to be able to use both: check for *zcat first, and fall back to "compressor -d" if it's not there. | |||
2019-05-23 | tar: turns out --sparse is also known as -S. | Elliott Hughes | |
Found trying to build the aosp_cf_x86_phone-userdebug target. The good news is that the targets that I knew were using tar with sparse files all pass now. | |||
2019-05-20 | Less incomplete tar help text. | Rob Landley | |
2019-05-19 | Fix tar sparse extract with extension blocks. | Rob Landley | |
2019-05-19 | Fix tar --sparse generation of extension block. | Rob Landley | |
2019-05-19 | Add pointless trailing --sparse entry for exact binary compartibility. | Rob Landley | |
There's no possible use for this, but debian's tar produces it, so... | |||
2019-05-19 | Add --sparse file creation support to tar. | Rob Landley | |
And fix tar cv to produce output to stderr when archive going to stdout. | |||
2019-05-14 | Checked in a debugging printf. Oops. | Rob Landley | |
2019-05-14 | Typo caused a segfault. (Oops.) | Rob Landley | |
2019-05-13 | Fix a couple error paths that don't continue archive create/extract properly. | Rob Landley | |
2019-05-11 | Teach tar to extract type 'S' sparse file headers. | Rob Landley | |
2019-05-01 | tar: use same tools for decompression as for compression. | Elliott Hughes | |
This is what GNU tar does, so Android's build system jail allows bzip2, gzip, and xz, but not bzcat, zcat, and xzcat. Why the function? Because auto-detection works by setting toyflags, so we need to make sure we test the flags late, so it's either two copies of this or a function. | |||
2019-04-21 | Promote tar. | Rob Landley | |
There's probably more to do, but it seems usable at this point. |