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