stages/*: change license to Apache 2.0
[dragora.git] / patches / unzip / unzip-6.0-symlink.patch
blobd7eaf160b49e46e39e813307bebae50c48a49014
1 diff --git a/process.c b/process.c
2 index 1e9a1e1..905732b 100644
3 --- a/process.c
4 +++ b/process.c
5 @@ -1751,6 +1751,12 @@ int process_cdir_file_hdr(__G) /* return PK-type error code */
6 = (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11);
7 #endif
9 +#ifdef SYMLINKS
10 + /* Initialize the symlink flag, may be set by the platform-specific
11 + mapattr function. */
12 + G.pInfo->symlink = 0;
13 +#endif
15 return PK_COOL;
17 } /* end function process_cdir_file_hdr() */