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