Blame SOURCES/unzip-6.0-symlink.patch

7e0a4d
diff --git a/process.c b/process.c
7e0a4d
index 1e9a1e1..905732b 100644
7e0a4d
--- a/process.c
7e0a4d
+++ b/process.c
7e0a4d
@@ -1751,6 +1751,12 @@ int process_cdir_file_hdr(__G)    /* return PK-type error code */
7e0a4d
         = (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11);
7e0a4d
 #endif
7e0a4d
 
7e0a4d
+#ifdef SYMLINKS
7e0a4d
+    /* Initialize the symlink flag, may be set by the platform-specific
7e0a4d
+       mapattr function.  */
7e0a4d
+    G.pInfo->symlink = 0;
7e0a4d
+#endif
7e0a4d
+
7e0a4d
     return PK_COOL;
7e0a4d
 
7e0a4d
 } /* end function process_cdir_file_hdr() */