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