]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Revert from previous change of tar/tree.c. It's my local hack.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 2 Nov 2009 03:04:10 +0000 (22:04 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 2 Nov 2009 03:04:10 +0000 (22:04 -0500)
SVN-Revision: 1576

tar/tree.c

index 828762ba10db848d5ad45f51d51bad181de381d8..eeae00b03a88eecb8d0cc7ec09122f7965bafd8a 100644 (file)
@@ -715,11 +715,9 @@ int
 tree_current_is_physical_link(struct tree *t)
 {
 #if defined(_WIN32) && !defined(__CYGWIN__)
-#if defined(IO_REPARSE_TAG_SYMLINK)
        if (t->findData)
                return ((t->findData->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
                                && (t->findData->dwReserved0 == IO_REPARSE_TAG_SYMLINK));
-#endif
        return (0);
 #else
        const struct stat *st = tree_current_lstat(t);