Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/2.12.1/ports: 6029_all_alpha-glibc-2.12-epoll_create1.patch
Date: Wed, 29 Sep 2010 22:53:27
Message-Id: 20100929225320.5C2A32003C@flycatcher.gentoo.org
1 vapier 10/09/29 22:53:20
2
3 Added: 6029_all_alpha-glibc-2.12-epoll_create1.patch
4 Log:
5 fix epoll_create1 prototype for sparc & alpha #331639
6
7 Revision Changes Path
8 1.1 src/patchsets/glibc/2.12.1/ports/6029_all_alpha-glibc-2.12-epoll_create1.patch
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.12.1/ports/6029_all_alpha-glibc-2.12-epoll_create1.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.12.1/ports/6029_all_alpha-glibc-2.12-epoll_create1.patch?rev=1.1&content-type=text/plain
12
13 Index: 6029_all_alpha-glibc-2.12-epoll_create1.patch
14 ===================================================================
15 https://bugs.gentoo.org/331639
16
17 From 3fe89ea4365a2294f56ddba91f3a84086fd15d42 Mon Sep 17 00:00:00 2001
18 From: Mike Frysinger <vapier@g.o>
19 Date: Tue, 31 Aug 2010 16:06:02 -0400
20 Subject: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
21
22 Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
23
24 Signed-off-by: Mike Frysinger <vapier@g.o>
25
26 2010-08-31 Mike Frysinger <vapier@g.o>
27
28 * sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2): Delete.
29 (epoll_create1): Add.
30 ---
31 sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
32 1 files changed, 5 insertions(+), 4 deletions(-)
33
34 diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
35 index 9f983a5..9177c31 100644
36 --- ports/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
37 +++ ports/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
38 @@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
39 #endif
40
41
42 -/* Flags to be passed to epoll_create2. */
43 +/* Flags to be passed to epoll_create1. */
44 enum
45 {
46 EPOLL_CLOEXEC = 010000000,
47 @@ -101,8 +101,9 @@ __BEGIN_DECLS
48 returned by epoll_create() should be closed with close(). */
49 extern int epoll_create (int __size) __THROW;
50
51 -/* Same as epoll_create but with an additional FLAGS parameter. */
52 -extern int epoll_create2 (int __size, int __flags) __THROW;
53 +/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
54 + parameter has been dropped. */
55 +extern int epoll_create1 (int __flags) __THROW;
56
57
58 /* Manipulate an epoll instance "epfd". Returns 0 in case of success,
59 --
60 1.7.2