From d160eb934654c2a52ef7f8273a7f651fd6178b7d Mon Sep 17 00:00:00 2001 From: Andreas Schwab 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