summaryrefslogtreecommitdiffstats
path: root/source/n/rsync/rsync.no_lchmod.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-04-18 19:58:04 +0000
committer Eric Hameleers <alien@slackware.com>2022-04-19 06:59:45 +0200
commit615523f1128f2b40168434af4e8e00e95136fa71 (patch)
tree3068279d052c3271a7e83b6f953c52bbfcb8f33a /source/n/rsync/rsync.no_lchmod.diff
parent8b9b348d17ffe04d5a5087505a9f30b2ff9c1ebe (diff)
downloadcurrent-615523f1128f2b40168434af4e8e00e95136fa71.tar.gz
current-615523f1128f2b40168434af4e8e00e95136fa71.tar.xz
Mon Apr 18 19:58:04 UTC 202220220418195804
a/coreutils-9.1-x86_64-1.txz: Upgraded. kde/krita-5.0.5-x86_64-3.txz: Rebuilt. Recompiled against quazip-1.3. l/enchant-2.3.3-x86_64-1.txz: Upgraded. l/imagemagick-7.1.0_30-x86_64-1.txz: Upgraded. l/json-c-0.16_20220414-x86_64-1.txz: Upgraded. l/libnl3-3.6.0-x86_64-1.txz: Upgraded. l/pcre2-10.40-x86_64-1.txz: Upgraded. l/quazip-1.3-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/rsync-3.2.4-x86_64-1.txz: Upgraded. x/libpinyin-2.6.2-x86_64-1.txz: Upgraded. xap/xsnow-3.5.0-x86_64-1.txz: Upgraded.
Diffstat (limited to '')
-rw-r--r--source/n/rsync/rsync.no_lchmod.diff21
1 files changed, 0 insertions, 21 deletions
diff --git a/source/n/rsync/rsync.no_lchmod.diff b/source/n/rsync/rsync.no_lchmod.diff
deleted file mode 100644
index 7d7d33bf4..000000000
--- a/source/n/rsync/rsync.no_lchmod.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- ./syscall.c.orig 2021-02-22 14:30:03.639032473 -0600
-+++ ./syscall.c 2021-02-22 14:30:07.490032559 -0600
-@@ -232,7 +232,8 @@
- RETURN_ERROR_IF_RO_OR_LO;
- #ifdef HAVE_LCHMOD
- code = lchmod(path, mode & CHMOD_BITS);
--#else
-+ if (code < 0 && errno == ENOTSUP) {
-+#endif
- if (S_ISLNK(mode)) {
- # if defined HAVE_SETATTRLIST
- struct attrlist attrList;
-@@ -247,6 +248,8 @@
- # endif
- } else
- code = chmod(path, mode & CHMOD_BITS); /* DISCOURAGED FUNCTION */
-+#ifdef HAVE_LCHMOD
-+ }
- #endif /* !HAVE_LCHMOD */
- if (code != 0 && (preserve_perms || preserve_executability))
- return code;