| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
MFC after: 3 days
Thanks to: Guy Helmer
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
when used with -t, "send to stdout" when used with -x.
Thanks to: Ryan Hamilton for pointing out this odd beast
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
synonym for --format. Update the man page to reflect this. While
I'm here, change the man page to document "tar" rather than "bsdtar,"
update some comments about -l compatibility and fix a few grammar nits.
|
|
|
|
|
|
| |
throw out the whole thing and stop tracking links entirely. That will
break all remaining hardlinks, but should free up enough memory to
let everything finish.
|
|
|
|
|
| |
Then use them to provide consistent -C support throughout the program.
Thanks to: Christoph Mallon
|
|
|
|
|
| |
Thanks to: Christoph Mallon (whose proposed patch was actually
simpler than what I ended up with)
|
|
|
|
|
| |
CFLAGS, it shouldn't be in bsdtar_platform.h.
Thanks to: Andrey Chernov for looking over my shoulder so much lately.
|
|
|
|
| |
it doesn't yet seem to work entirely correctly.
|
|
|
|
|
| |
written to the archive, not the ones written to the compressor.
For uncompressed archives, these numbers are the same, of course.
|
|
|
|
|
|
| |
* Add a more reasonable default device for linux
* Add an autoconf check for the FNM_LEADING_DIR extension
(which isn't yet obeyed in the code)
|
|
|
|
| |
COPYING file and some conditional compilation cleanups.
|
|
|
|
| |
group name in -tv output format.
|
|
|
|
|
|
|
|
|
|
|
|
| |
For -l, upset everyone by breaking it. Specifically, -l now produces
a lengthy error message that suggests --check-links (POSIX -l) or
--one-file-system (GNU -l) instead. However, if POSIXLY_CORRECT is set,
use the POSIX interpretation.
For -o, please everyone by making it work both ways:
* -xo uses POSIX behavior
* -co uses "almost GNU" behavior (as close as we can get until
libarchive implements a true V7 tar format)
|
|
|
|
| |
Thanks to: Pav Lucistnik
|
|
|
|
| |
Thanks to: Barry Bouwsma
|
|
|
|
| |
Thanks to: Johan Karlsson
|
|
|
|
|
| |
both bsdtar and libarchive. Of course, this requires that bsdtar
have a version number. Let's call this 1.00, shall we? ;-)
|
|
|
|
| |
mostly from: Tim J Robbins
|
|
|
|
| |
Thanks to: Andrey Chernov
|
|
|
|
|
|
|
|
| |
* Whitespace fixes
* Check some malloc calls
* Simplify long_help formatting
* Spell "LINUX" -> "linux"
* A few other miscellaneous style improvements
|
|
|
|
| |
Thanks (and many apologies) to: Cristoph Mallon
|
|
|
|
| |
Thanks to: Tim J Robbins
|
|
|
|
| |
variable and the default tape device.
|
|
|
|
|
|
| |
Add range-checking to argument of -b.
Thanks to: Tim J Robbins
|
|
|
|
|
| |
pointing to /usr/bin/bsdtar by default. To make it point to /usr/bin/gtar,
you can define WITH_GTAR.
|
|
|
|
|
|
| |
of course, but I make an effort to accomodate GNU tar scripts that
use -o with -c (with a meaning that totally contradicts SUSv2) by
only issuing a benign warning message in that case.
|
|
|
|
|
| |
testing the locale at program startup and setting a flag, then
using that flag to determine appropriate strftime() arguments.
|
| |
|
| |
|
|
|
|
| |
Emininated double space and hard sentence breaks.
|
|
|
|
| |
All of --help should go to stdout, not some to stdout and some to stderr.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Don't change the umask; the library now ignores the umask if
you set EXTRACT_PERM
* Set the EXTRACT_ACL and EXTRACT_FFLAGS bits (used to be
controlled by EXTRACT_PERM).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add --null option (sort #defines here)
* Add process_lines function to util.c that reads newline-terminated
or null-terminated lines (with self-sizing buffers, etc) and iteratively
invokes a provided function. Use this to dramatically simplify:
-T handling for -c, --exclude-from-file, and --include-from-file.
* Add -T handling to -x (via include_from_file)
Hopefully, this will fix the openoffice port and a couple of
others that rely on -T and --null.
|
|
|
|
| |
While I'm here, add in a lot more error-checking around append_archive.
|
|
|
|
|
|
| |
Instead, display a warning, clean up, and let main() return the error.
In particular, this means that chdir() problems won't leave broken
archives, though they will prompt an error exit value.
|
|
|
|
| |
Also correct an old error: there was no tar command in Sixth Edition.
|
|
|
|
|
|
|
| |
This requires some non-trivial surgery to the options parsing.
While here, let people who only have getopt() access long options
through the -W longopt=value convention.
|
|
|
|
| |
Thanks to: Kris Kennaway for doing some gtar research for me.
|
|
|
|
|
|
|
| |
gtar, so that makes it easy to implement.
Required by: audio/timidity port
Thanks to: Kris Kennaway
|
|
|
|
| |
(gtar-compatible) one does require an argument.
|
| |
|
| |
|
|
|
|
|
| |
something else. I would really like a short option for
this, but all of the obvious ones conflict with something else.
|