Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/memcached/files: memcached-1.4.17-EWOULDBLOCK.patch memcached-1.2.2-p-threads.patch
Date: Mon, 27 Jan 2014 07:19:53
Message-Id: 20140127071949.1E69E2004C@flycatcher.gentoo.org
1 prometheanfire 14/01/27 07:19:49
2
3 Added: memcached-1.4.17-EWOULDBLOCK.patch
4 Removed: memcached-1.2.2-p-threads.patch
5 Log:
6 some file cleanup and a fix for bug 498262
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
9
10 Revision Changes Path
11 1.1 net-misc/memcached/files/memcached-1.4.17-EWOULDBLOCK.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/memcached-1.4.17-EWOULDBLOCK.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/memcached-1.4.17-EWOULDBLOCK.patch?rev=1.1&content-type=text/plain
15
16 Index: memcached-1.4.17-EWOULDBLOCK.patch
17 ===================================================================
18 errno.h(0P):
19 EAGAIN Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).
20
21 [...]
22
23 EWOULDBLOCK
24 Operation would block (may be the same value as [EAGAIN]).
25
26
27 --- a/testapp.c
28 +++ b/testapp.c
29 @@ -1840,6 +1840,9 @@
30 switch (errno) {
31 case EINTR:
32 break;
33 +#if (EAGAIN != EWOULDBLOCK)
34 + case EAGAIN:
35 +#endif
36 case ENOMEM:
37 case EWOULDBLOCK:
38 more = false;