mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
023424d348
ap/dash-0.5.11.3-x86_64-1.txz: Upgraded. ap/vim-8.2.2541-x86_64-1.txz: Upgraded. d/parallel-20210222-noarch-1.txz: Upgraded. l/mozjs78-78.8.0esr-x86_64-1.txz: Upgraded. n/libqmi-1.28.0-x86_64-1.txz: Upgraded. n/rsync-3.2.3-x86_64-4.txz: Rebuilt. Don't use lchmod(). Thanks to tadgy. x/ibus-anthy-1.5.12-x86_64-1.txz: Upgraded. xap/mozilla-firefox-78.8.0esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/78.8.0/releasenotes/ (* Security fix *) xap/vim-gvim-8.2.2541-x86_64-1.txz: Upgraded. xfce/xfce4-panel-profiles-1.0.13-x86_64-1.txz: Upgraded.
21 lines
592 B
Diff
21 lines
592 B
Diff
--- ./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;
|