From 2458c7d62b95ddc3591d91e0bb2a497f18bf22c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Tue, 28 Sep 2021 22:21:13 +0200 Subject: patches/coreutils-9.0.local.patch: update patch (via sam_) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/coreutils-9.0.local.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'patches') diff --git a/patches/coreutils-9.0.local.patch b/patches/coreutils-9.0.local.patch index cd2814c7..1b36cf2b 100644 --- a/patches/coreutils-9.0.local.patch +++ b/patches/coreutils-9.0.local.patch @@ -1,3 +1,26 @@ +diff --git a/src/chmod.c b/src/chmod.c +index 37b04f500..57ac47f33 100644 +--- a/src/chmod.c ++++ b/src/chmod.c +@@ -44,8 +44,8 @@ struct change_status + enum + { + CH_NO_STAT, +- CH_NOT_APPLIED, + CH_FAILED, ++ CH_NOT_APPLIED, + CH_NO_CHANGE_REQUESTED, + CH_SUCCEEDED + } +@@ -322,7 +322,7 @@ process_file (FTS *fts, FTSENT *ent) + if ( ! recurse) + fts_set (fts, ent, FTS_SKIP); + +- return CH_NO_CHANGE_REQUESTED <= ch.status; ++ return CH_NOT_APPLIED <= ch.status; + } + + /* Recursively change the modes of the specified FILES (the last entry diff -ru coreutils-9.0.orig/lib/lchmod.c coreutils-9.0/lib/lchmod.c --- coreutils-9.0.orig/lib/lchmod.c 2021-09-24 13:32:44.000000000 +0200 +++ coreutils-9.0/lib/lchmod.c 2021-09-28 21:21:23.721953133 +0200 -- cgit v1.2.3