diff options
Diffstat (limited to 'main/sed/fix-test-canonicalize-lgpl.patch')
-rw-r--r-- | main/sed/fix-test-canonicalize-lgpl.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/main/sed/fix-test-canonicalize-lgpl.patch b/main/sed/fix-test-canonicalize-lgpl.patch deleted file mode 100644 index 7ba9b710b1b..00000000000 --- a/main/sed/fix-test-canonicalize-lgpl.patch +++ /dev/null @@ -1,23 +0,0 @@ -musl does not strip a leading '//' in its realpath(3) implementation. -Furthermore, the handling of a leading '//' is implementation-defined -hence this is not a bug in musl but instead something the sed test suite -should not rely on. - -See https://lists.gnu.org/archive/html/bug-sed/2022-07/msg00003.html - -diff -upr sed-4.8.orig/gnulib-tests/test-canonicalize-lgpl.c sed-4.8/gnulib-tests/test-canonicalize-lgpl.c ---- sed-4.8.orig/gnulib-tests/test-canonicalize-lgpl.c 2022-07-31 15:28:20.249302470 +0200 -+++ sed-4.8/gnulib-tests/test-canonicalize-lgpl.c 2022-07-31 15:30:03.099518653 +0200 -@@ -200,9 +200,9 @@ main (void) - ASSERT (result2); - ASSERT (stat ("/", &st1) == 0); - ASSERT (stat ("//", &st2) == 0); -- /* On IBM z/OS, "/" and "//" are distinct, yet they both have -- st_dev == st_ino == 1. */ --#ifndef __MVS__ -+ /* On IBM z/OS and musl libc, "/" and "//" are distinct, yet -+ they both have st_dev == st_ino == 1. */ -+#if !defined(__MVS__) && !defined(MUSL_LIBC) - if (SAME_INODE (st1, st2)) - { - ASSERT (strcmp (result1, "/") == 0); |