summaryrefslogtreecommitdiffstats
path: root/abs/core/m4/m4-1.4.16-readlink-einval.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:05 (GMT)
commitd09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2 (patch)
treeb7a478dc4760a22f1af08e0a66b0faf7407502e3 /abs/core/m4/m4-1.4.16-readlink-einval.patch
parent21bdeae7e3fd523f93d55bcda29e77137a28622f (diff)
downloadlinhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.zip
linhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.tar.gz
linhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.tar.bz2
m4 1.4.16
Diffstat (limited to 'abs/core/m4/m4-1.4.16-readlink-einval.patch')
-rw-r--r--abs/core/m4/m4-1.4.16-readlink-einval.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/m4/m4-1.4.16-readlink-einval.patch b/abs/core/m4/m4-1.4.16-readlink-einval.patch
new file mode 100644
index 0000000..6a98751
--- /dev/null
+++ b/abs/core/m4/m4-1.4.16-readlink-einval.patch
@@ -0,0 +1,12 @@
+diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h
+--- m4-1.4.16/tests/test-readlink.h.orig 2011-09-19 12:44:58.745546826 +0200
++++ m4-1.4.16/tests/test-readlink.h 2011-09-19 12:46:00.079548410 +0200
+@@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con
+ ASSERT (errno == ENOENT);
+ errno = 0;
+ ASSERT (func ("", buf, sizeof buf) == -1);
+- ASSERT (errno == ENOENT);
++ ASSERT (errno == ENOENT || errno == EINVAL);
+ errno = 0;
+ ASSERT (func (".", buf, sizeof buf) == -1);
+ ASSERT (errno == EINVAL);