Blame SOURCES/unzip-6.0-symlink.patch

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