gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / unzip-initialize-symlink-flag.patch
CommitLineData
385ae063
MW
1Copied from Debian.
2
3From: Andreas Schwab <schwab@linux-m68k.org>
4Subject: Initialize the symlink flag
5Bug-Debian: http://bugs.debian.org/717029
6X-Debian-version: 6.0-10
7
8--- a/process.c
9+++ b/process.c
10@@ -1758,6 +1758,12 @@
11 = (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11);
12 #endif
13
14+#ifdef SYMLINKS
15+ /* Initialize the symlink flag, may be set by the platform-specific
16+ mapattr function. */
17+ G.pInfo->symlink = 0;
18+#endif
19+
20 return PK_COOL;
21
22 } /* end function process_cdir_file_hdr() */