diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-05-21 19:45:56 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-05-21 19:45:56 +0000 |
commit | 3c03499e5b87c381757115bd28ead50404867bb6 (patch) | |
tree | 204b4462e048dc1ac7dd860da0d069286d7ae4c6 /lib/libarchive/Makefile | |
parent | d665dce5d09b64996b824cbcbb8180e845cc6364 (diff) | |
download | FreeBSD-src-3c03499e5b87c381757115bd28ead50404867bb6.zip FreeBSD-src-3c03499e5b87c381757115bd28ead50404867bb6.tar.gz |
Start to address the race issue between restoring a file's contents
and restoring the metadata. In particular, the metadata-restore
functions now all accept a file descriptor and a pathname. If the
file descriptor is set and the platform supports the appropriate
syscall, restore the metadata through the file descriptor. Otherwise,
restore it through the pathname. This is complicated by varying
syscall support (FreeBSD has an fchmod(2) but no fchflags(2), for
example) and because non-file entries don't have an fd to use in
restoring attributes (for example, mknod(2) doesn't return a file
handle).
MFC after: 14 days
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r-- | lib/libarchive/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index ecfea60..dbe9dad 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -7,7 +7,7 @@ LIB= archive -VERSION= 1.02.019 +VERSION= 1.02.023 ARCHIVE_API_FEATURE= 2 ARCHIVE_API_VERSION= 1 SHLIB_MAJOR= ${ARCHIVE_API_VERSION} |