Gentoo Archives: gentoo-commits

From: "Matt Turner (mattst88)" <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/m4/files: m4-1.4.16-fix-test-readlink.patch
Date: Tue, 30 Aug 2011 01:43:43
Message-Id: 20110830014334.267A820051@flycatcher.gentoo.org
1 mattst88 11/08/30 01:43:34
2
3 Added: m4-1.4.16-fix-test-readlink.patch
4 Log:
5 Fix test-readlink. Thanks to Michael, bug 376639.
6
7 (Portage version: 2.1.10.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch?rev=1.1&content-type=text/plain
14
15 Index: m4-1.4.16-fix-test-readlink.patch
16 ===================================================================
17 --- tests/test-readlink.h
18 +++ tests/test-readlink.h
19 @@ -38,7 +38,7 @@
20 ASSERT (errno == ENOENT);
21 errno = 0;
22 ASSERT (func ("", buf, sizeof buf) == -1);
23 - ASSERT (errno == ENOENT);
24 + ASSERT (errno == ENOENT || errno == EINVAL);
25 errno = 0;
26 ASSERT (func (".", buf, sizeof buf) == -1);
27 ASSERT (errno == EINVAL);