From b611570f119e878dbddb1236b4f0fa404e5d37d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Tue, 2 Apr 2024 13:21:41 +0100 Subject: [PATCH] renameatu: handle ENOSYS from renameatx_np * lib/renameatu.c(): Fall back to renameat() when renameatx_np(RENAME_EXCL) returns "Function not implemented". This issue was seen with macFUSE. Reported at https://github.com/coreutils/coreutils/issues/79 --- ChangeLog | 7 +++++++ lib/renameatu.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ec1873c694..0a198b207f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-04-02 Pádraig Brady
+
+ renameatu: handle ENOSYS from renameatx_np
+ * lib/renameatu.c(): Fall back to renameat() without RENAME_EXCL
+ if "Function not implemented" is returned. This was seen with macFUSE.
+ Reported at https://github.com/coreutils/coreutils/issues/79
+
2024-03-31 Bruno Haible