mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 02:33:36 +08:00
HPPA: Initialize EPOLLONESHOT and EPOLLET correctly.
The value of EPOLLONESHOT and EPOLLET should be initialized with an unsigned value.
This commit is contained in:
parent
c27dd89f4b
commit
ad8ae7daff
@ -1,3 +1,8 @@
|
||||
2012-01-08 Carlos O'Donell <carlos@systemhalted.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT)
|
||||
(EPOLLET): Initialize with unsiged values.
|
||||
|
||||
2012-01-08 Carlos O'Donell <carlos@systemhalted.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
|
||||
|
@ -65,9 +65,9 @@ enum EPOLL_EVENTS
|
||||
#define EPOLLHUP EPOLLHUP
|
||||
EPOLLRDHUP = 0x2000,
|
||||
#define EPOLLRDHUP EPOLLRDHUP
|
||||
EPOLLONESHOT = (1 << 30),
|
||||
EPOLLONESHOT = 1u << 30,
|
||||
#define EPOLLONESHOT EPOLLONESHOT
|
||||
EPOLLET = (1 << 31)
|
||||
EPOLLET = 1u << 31
|
||||
#define EPOLLET EPOLLET
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user