Blame SOURCES/m4-1.4.16-readlink-einval.patch

5c9b21
diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h
5c9b21
--- m4-1.4.16/tests/test-readlink.h.orig	2011-09-19 12:44:58.745546826 +0200
5c9b21
+++ m4-1.4.16/tests/test-readlink.h	2011-09-19 12:46:00.079548410 +0200
5c9b21
@@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con
5c9b21
   ASSERT (errno == ENOENT);
5c9b21
   errno = 0;
5c9b21
   ASSERT (func ("", buf, sizeof buf) == -1);
5c9b21
-  ASSERT (errno == ENOENT);
5c9b21
+  ASSERT (errno == ENOENT || errno == EINVAL);
5c9b21
   errno = 0;
5c9b21
   ASSERT (func (".", buf, sizeof buf) == -1);
5c9b21
   ASSERT (errno == EINVAL);