From 4ee438300a4076eaf6b8389f0164279f59a6160e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Dec 2019 08:15:37 +0000 Subject: system/musl: integrate latest posix-conformance commit --- system/musl/amalgamation.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/musl/amalgamation.patch') 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; + -- cgit v1.2.3-60-g2f50