Blame SOURCES/unzip-6.0-symlink.patch

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