Blame SOURCES/unzip-6.0-symlink.patch

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