summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* bsdtar 2.0.23:kientzle2007-03-111-0/+14
| | | | | | | | | | * New test scripts exercise some basic functionality * Most header inclusions are now protected (portability) * read.c now relies on security checks in libarchive instead of trying to do its own (optimization) * -p now enabled by default for root, add --no-same-permissions to disable it * Comments, minor style fixes.
* Make the file tests robust against broken symlinks and otherkientzle2007-03-031-3/+17
| | | | sources of stat()/lstat() failure.
* If we already have stat() data, we might be able tokientzle2007-02-211-21/+29
| | | | | | determine if this is a physical dir without an lstat(). While I'm in here, try to clarify the comments around the _is_dir() and _is_physical_dir() tests.
* Correct the copyright messages: Make this a standard vanillakientzle2007-01-091-3/+2
| | | | 2-clause BSD license, update the year to 2007.
* Extended attribute support on write for Linux; FreeBSD hooks arekientzle2006-03-211-1/+1
| | | | | | | | | | forthcoming. This commit also has a number of style(9) fixes and minor corrections so the code works better with the build system being used for non-FreeBSD builds. Many thanks to: Jaakko Heinonen, who proposed a mechanism for extended attribute support and implemented both the machine-independent portion and the Linux-specific portion.
* If opendir(".") fails after descending into a subdirectory viapeadar2006-02-221-1/+2
| | | | | | | | | | chdir(), be sure to undo the effects of the chdir before continuing. Without this, after hitting a directory with mode 0111 (for example), tar will get lost, and won't add any yet unvisted files to your archive. (Or possibly add the wrong files, I suppose...) Reviewed By: kientzle@
* Clarify some error messages.kientzle2005-05-081-2/+2
|
* bsdtar now uses the "tree" package instead of "fts" for walkingkientzle2005-04-241-0/+506
directory heirarchies.
OpenPOWER on IntegriCloud