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_entry_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_entry_private.h')
-rw-r--r-- | libarchive/archive_entry_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/archive_entry_private.h b/libarchive/archive_entry_private.h index 07454693..e3547c3e 100644 --- a/libarchive/archive_entry_private.h +++ b/libarchive/archive_entry_private.h @@ -136,6 +136,8 @@ struct archive_entry { #define AE_SET_MTIME 16 #define AE_SET_BIRTHTIME 32 #define AE_SET_SIZE 64 +#define AE_SET_INO 128 +#define AE_SET_DEV 256 /* * Use aes here so that we get transparent mbs<->wcs conversions. |