Blame SOURCES/unzip-6.0-symlink.patch

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