diff options
author | Tim Kientzle <kientzle@gmail.com> | 2011-11-03 01:21:30 -0400 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2011-11-03 01:21:30 -0400 |
commit | 7457cf5404c114bff301fafd7d876632df07079c (patch) | |
tree | 7cc9ac0515c2820c9ead908d0192ba23425e69b0 /libarchive/archive_read_private.h | |
parent | 51e7b57a994f4457fce3b239300349ebf88eacb7 (diff) | |
download | libarchive-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_read_private.h')
-rw-r--r-- | libarchive/archive_read_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_read_private.h b/libarchive/archive_read_private.h index 9a099cce..4e09a01c 100644 --- a/libarchive/archive_read_private.h +++ b/libarchive/archive_read_private.h @@ -130,6 +130,7 @@ struct archive_read { struct archive_entry *entry; /* Dev/ino of the archive being read/written. */ + int skip_file_set; dev_t skip_file_dev; ino_t skip_file_ino; |