Commit ffa97810 authored by Matti Kosola's avatar Matti Kosola

Merge branch 'jb48958' into 'master'

[coreutils] remove patch for mv, renameat2 will be fixed in scratchbox2. JB#48958

See merge request !9
parents 7226b5b5 65838a38
From 584f05cbaf6e7624b9b47a2c7c435da213b76177 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomi=20Lepp=C3=A4nen?= <>
Date: Tue, 11 Feb 2020 17:15:41 +0200
Subject: [PATCH] Do not fail on ENOENT on sb2
See the WARNING comment in the code and also upstream commit
We should fix this in sb2.
src/copy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/copy.c b/src/copy.c
index dc1f6d0fa..0e9540d3f 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -2427,7 +2427,7 @@ copy_internal (char const *src_name, char const *dst_name,
where you'd replace '18' with the integer in parentheses that
was output from the perl one-liner above.
If necessary, of course, change '/tmp' to some other directory. */
- if (rename_errno != EXDEV)
+ if (rename_errno != EXDEV && rename_errno != ENOENT)
/* There are many ways this can happen due to a race condition.
When something happens between the initial XSTAT and the
......@@ -50,7 +50,6 @@ Patch950: coreutils-selinux.patch
Patch912: coreutils-overflow.patch
Patch2020: Skip-some-requirements-checks.patch
Patch2021: Do-not-fail-on-ENOENT-on-sb2.patch
Patch2022: docs-should-say-var-run-uw-tmp-not-etc-uw-tmp.patch
# For acl support
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment