aboutsummaryrefslogtreecommitdiff
path: root/patches/0026-rsync-Use-standard-S_ISVTX-instead-of-S_ISTXT.patch
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-14 15:26:34 +0300
committerCem Keylan <cem@ckyln.com>2021-07-14 15:26:34 +0300
commit1ebccdd350189ff1b1374a58ad24843ad0fe65f2 (patch)
tree24524e9736df2cc7f22ae184a88d5da3b4b52036 /patches/0026-rsync-Use-standard-S_ISVTX-instead-of-S_ISTXT.patch
parent01e3a0e242b526ae2791de8a0947920e3c9a9ec4 (diff)
downloadotools-1ebccdd350189ff1b1374a58ad24843ad0fe65f2.tar.gz
remove patch directory
Diffstat (limited to 'patches/0026-rsync-Use-standard-S_ISVTX-instead-of-S_ISTXT.patch')
-rw-r--r--patches/0026-rsync-Use-standard-S_ISVTX-instead-of-S_ISTXT.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/patches/0026-rsync-Use-standard-S_ISVTX-instead-of-S_ISTXT.patch b/patches/0026-rsync-Use-standard-S_ISVTX-instead-of-S_ISTXT.patch
deleted file mode 100644
index 39bc650..0000000
--- a/patches/0026-rsync-Use-standard-S_ISVTX-instead-of-S_ISTXT.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From b8ea0a7fc75f79d89f9f225da1112f477419d0bd Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Fri, 14 Jun 2019 12:42:15 -0700
-Subject: [PATCH] rsync: Use standard S_ISVTX instead of S_ISTXT
-
----
- usr.bin/rsync/receiver.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/usr.bin/rsync/receiver.c b/usr.bin/rsync/receiver.c
-index 5ffd3458b74..51f9ddf6a5c 100644
---- a/usr.bin/rsync/receiver.c
-+++ b/usr.bin/rsync/receiver.c
-@@ -86,7 +86,7 @@ rsync_set_metadata(struct sess *sess, int newfile,
- "to user.group: %u.%u", f->path, uid, gid);
- } else
- LOG4("%s: updated uid and/or gid", f->path);
-- mode &= ~(S_ISTXT | S_ISUID | S_ISGID);
-+ mode &= ~(S_ISVTX | S_ISUID | S_ISGID);
- }
-
- /* Conditionally adjust file permissions. */
-@@ -147,7 +147,7 @@ rsync_set_metadata_at(struct sess *sess, int newfile, int rootfd,
- "to user.group: %u.%u", f->path, uid, gid);
- } else
- LOG4("%s: updated uid and/or gid", f->path);
-- mode &= ~(S_ISTXT | S_ISUID | S_ISGID);
-+ mode &= ~(S_ISVTX | S_ISUID | S_ISGID);
- }
-
- /* Conditionally adjust file permissions. */
---
-2.23.0
-