diff options
author | LibArchive Upstream <libarchive-discuss@googlegroups.com> | 2011-12-31 18:54:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-01-05 13:52:42 (GMT) |
commit | 4f4fe6e50bb3dbe59f9bc3cc848cbd07dead324d (patch) | |
tree | 9051c1592328819c0adb69ba8148393cf9129f04 /libarchive/archive_read_disk_posix.c | |
parent | 2f4a3792bbfdb4e05cf7468059b3f6308f5ed91f (diff) | |
download | CMake-4f4fe6e50bb3dbe59f9bc3cc848cbd07dead324d.zip CMake-4f4fe6e50bb3dbe59f9bc3cc848cbd07dead324d.tar.gz CMake-4f4fe6e50bb3dbe59f9bc3cc848cbd07dead324d.tar.bz2 |
libarchive 3.0.2-r4051 (reduced)
Extract upstream libarchive using the following shell code.
url=https://libarchive.googlecode.com/svn/release/3.0
v=3.0.2
r=4051
paths="
CMakeLists.txt
COPYING
CTestConfig.cmake
build/cmake
build/pkgconfig
build/utils
build/version
libarchive/*.*
"
date=$(svn log -q -c$r $url |
sed -n "/^r/ {s/[^|]*|[^|]*|//;p;}")
svn export -r$r $url libarchive-$v-r$r &&
mkdir libarchive-$v-r$r-reduced &&
(cd libarchive-$v-r$r && tar c $paths) |
(cd libarchive-$v-r$r-reduced && tar x)
echo "r$r date: $date"
Diffstat (limited to 'libarchive/archive_read_disk_posix.c')
-rw-r--r-- | libarchive/archive_read_disk_posix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/archive_read_disk_posix.c b/libarchive/archive_read_disk_posix.c index 7a9c3d8..b81ab30 100644 --- a/libarchive/archive_read_disk_posix.c +++ b/libarchive/archive_read_disk_posix.c @@ -1321,9 +1321,11 @@ setup_current_filesystem(struct archive_read_disk *a) t->current_filesystem->synthetic = 0; #endif +#if defined(MNT_NOATIME) if (sfs.f_flags & MNT_NOATIME) t->current_filesystem->noatime = 1; else +#endif t->current_filesystem->noatime = 0; #if defined(HAVE_READDIR_R) |