]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Revert previous change of tar/tree.c
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 3 Dec 2009 12:39:52 +0000 (07:39 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 3 Dec 2009 12:39:52 +0000 (07:39 -0500)
It's my local hack.

SVN-Revision: 1695

tar/tree.c

index d77ba9c56dd01430a01730d31bd0a3b916ee1104..da29c566953a307eaebd91aef592b4d57cae09e3 100644 (file)
@@ -738,11 +738,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);