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