0022-unzip-6.0-symlink.patch (493B)
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 8 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 14 + 15 return PK_COOL; 16 17 } /* end function process_cdir_file_hdr() */