| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
extraction and creation. While I'm here, fix a bug reported by Garrett
Wollman: when stripping the leading '/' from the path "/", don't produce
an entry with an empty name; produce "." instead.
|
|
|
|
|
| |
Then use them to provide consistent -C support throughout the program.
Thanks to: Christoph Mallon
|
|
|
|
| |
mostly from: Tim J Robbins
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
blocks at a time, rather than using putc().
|
|
|
|
| |
Move global progname variable into struct bsdtar.
|
|
|
|
| |
even though POSIX requires it. <sigh>
|
| |
|
|
|
|
|
|
|
|
| |
table for the hardlink cache. This dramatically improves
performance when archiving millions of hardlinked files.
While I'm here, clean up some style bugs (per Bruce Evans)
and clarify some comments.
|
|
|
|
|
| |
a stack-allocated buffer for safe_fprintf formatting.
Only if the result is too large do we resort to malloc.
|
|
|