summaryrefslogtreecommitdiff
path: root/libarchive/archive_write_private.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2011-11-03 01:21:30 -0400
committerTim Kientzle <kientzle@gmail.com>2011-11-03 01:21:30 -0400
commit7457cf5404c114bff301fafd7d876632df07079c (patch)
tree7cc9ac0515c2820c9ead908d0192ba23425e69b0 /libarchive/archive_write_private.h
parent51e7b57a994f4457fce3b239300349ebf88eacb7 (diff)
downloadlibarchive-7457cf5404c114bff301fafd7d876632df07079c.tar.gz
Issue #189: Don't rely on dev/ino being zero when they
have not been set. Instead, explicitly track when these values are set. In particular, this fixes the check that prevents adding an archive to itself on NetBSD. SVN-Revision: 3743
Diffstat (limited to 'libarchive/archive_write_private.h')
-rw-r--r--libarchive/archive_write_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_write_private.h b/libarchive/archive_write_private.h
index 82b91fae..91284cf1 100644
--- a/libarchive/archive_write_private.h
+++ b/libarchive/archive_write_private.h
@@ -71,6 +71,7 @@ struct archive_write {
struct archive archive;
/* Dev/ino of the archive being written. */
+ int skip_file_set;
dev_t skip_file_dev;
int64_t skip_file_ino;