From: Carlos O'Donell Date: Mon, 9 Jan 2012 05:47:04 +0000 (-0500) Subject: HPPA: Initialize EPOLLONESHOT and EPOLLET correctly. X-Git-Tag: upstream/2.30~10627^2~305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad8ae7daffc0231884874888d8a7aeeac34c8ebe;p=external%2Fglibc.git HPPA: Initialize EPOLLONESHOT and EPOLLET correctly. The value of EPOLLONESHOT and EPOLLET should be initialized with an unsigned value. --- diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 8988cf4..e7a80e5 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,5 +1,10 @@ 2012-01-08 Carlos O'Donell + * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT) + (EPOLLET): Initialize with unsiged values. + +2012-01-08 Carlos O'Donell + * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy. 2012-01-08 Carlos O'Donell diff --git a/sysdeps/unix/sysv/linux/hppa/sys/epoll.h b/sysdeps/unix/sysv/linux/hppa/sys/epoll.h index b11a34d..53037d6 100644 --- a/sysdeps/unix/sysv/linux/hppa/sys/epoll.h +++ b/sysdeps/unix/sysv/linux/hppa/sys/epoll.h @@ -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 };