Magellan Linux

Annotation of /trunk/m4/patches/m4-1.4.16-readlink-einval.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1841 - (hide annotations) (download)
Fri Jul 13 13:05:52 2012 UTC (11 years, 11 months ago) by niro
File size: 542 byte(s)
-added patches
1 niro 1841 diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h
2     --- m4-1.4.16/tests/test-readlink.h.orig 2011-09-19 12:44:58.745546826 +0200
3     +++ m4-1.4.16/tests/test-readlink.h 2011-09-19 12:46:00.079548410 +0200
4     @@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con
5     ASSERT (errno == ENOENT);
6     errno = 0;
7     ASSERT (func ("", buf, sizeof buf) == -1);
8     - ASSERT (errno == ENOENT);
9     + ASSERT (errno == ENOENT || errno == EINVAL);
10     errno = 0;
11     ASSERT (func (".", buf, sizeof buf) == -1);
12     ASSERT (errno == EINVAL);