logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0006-Initialize-the-symlink-flag.patch (765B)


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