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