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