summaryrefslogtreecommitdiff
path: root/system/musl/amalgamation.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 08:15:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 08:15:37 +0000
commit4ee438300a4076eaf6b8389f0164279f59a6160e (patch)
tree3725ec595df0c6f111d226c0be78826bb3d30fba /system/musl/amalgamation.patch
parente36d5e759a5f40404e482da9d5d5c571061e4578 (diff)
downloadpackages-4ee438300a4076eaf6b8389f0164279f59a6160e.tar.gz
packages-4ee438300a4076eaf6b8389f0164279f59a6160e.tar.bz2
packages-4ee438300a4076eaf6b8389f0164279f59a6160e.tar.xz
packages-4ee438300a4076eaf6b8389f0164279f59a6160e.zip
system/musl: integrate latest posix-conformance commit
Diffstat (limited to 'system/musl/amalgamation.patch')
-rw-r--r--system/musl/amalgamation.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/musl/amalgamation.patch b/system/musl/amalgamation.patch
index fd77581da..5918c3be6 100644
--- a/system/musl/amalgamation.patch
+++ b/system/musl/amalgamation.patch
@@ -413,7 +413,7 @@ index f407ffe0..4fd3a60c 100644
errno = ENOENT;
return 0;
diff --git a/src/unistd/renameat.c b/src/unistd/renameat.c
-index c3b40a25..e2f03d39 100644
+index c3b40a25..6af5aed6 100644
--- a/src/unistd/renameat.c
+++ b/src/unistd/renameat.c
@@ -1,11 +1,93 @@
@@ -468,8 +468,8 @@ index c3b40a25..e2f03d39 100644
+
+ /* Test equality of old and new.
+ If they both resolve to the same dentry, we do nothing. */
-+ if (fstatat(oldfd, old, &oldstat, 0) == 0 && \
-+ fstatat(newfd, new, &newstat, 0) == 0 && \
++ if (fstatat(oldfd, old, &oldstat, AT_SYMLINK_NOFOLLOW) == 0 && \
++ fstatat(newfd, new, &newstat, AT_SYMLINK_NOFOLLOW) == 0 && \
+ oldstat.st_dev == newstat.st_dev && \
+ oldstat.st_ino == newstat.st_ino) return 0;
+