master hovercats/oakiss / pkg / unzip / patch / 0006-Initialize-the-symlink-flag.patch
 1From d160eb934654c2a52ef7f8273a7f651fd6178b7d Mon Sep 17 00:00:00 2001
 2From: Andreas Schwab <schwab@linux-m68k.org>
 3Date: Sat, 15 Jun 2019 18:13:11 -0700
 4Subject: [PATCH] Initialize the symlink flag
 5
 6---
 7 process.c | 6 ++++++
 8 1 file changed, 6 insertions(+)
 9
10diff --git a/process.c b/process.c
11index df58d28..3228bde 100644
12--- a/process.c
13+++ b/process.c
14@@ -1758,6 +1758,12 @@ int process_cdir_file_hdr(__G)    /* return PK-type error code */
15         = (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11);
16 #endif
17 
18+#ifdef SYMLINKS
19+    /* Initialize the symlink flag, may be set by the platform-specific
20+       mapattr function.  */
21+    G.pInfo->symlink = 0;
22+#endif
23+
24     return PK_COOL;
25 
26 } /* end function process_cdir_file_hdr() */
27-- 
282.20.1
29