Created
July 14, 2022 14:40
-
-
Save shyim/3d1f2496cf53c8e438e392aa488ca08e to your computer and use it in GitHub Desktop.
Fix unpack symlink issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- process.c | |
+++ process.c | |
@@ -1751,6 +1751,12 @@ int process_cdir_file_hdr(__G) /* ret | |
= (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() */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment