diff options
author | Allan McRae <allan@archlinux.org> | 2016-05-04 09:39:34 +0200 |
---|---|---|
committer | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-09 05:27:40 +0200 |
commit | 2f1797783efcb7594d9185ae01c7e1a80096b1af (patch) | |
tree | b20bca80c1cdee2c228ce57ea71fc03764ab18ff /proto | |
parent | a9bec8bed88865a2b5ca1d8f56665ac1326bb238 (diff) | |
download | pacman-2f1797783efcb7594d9185ae01c7e1a80096b1af.tar.gz pacman-2f1797783efcb7594d9185ae01c7e1a80096b1af.tar.xz |
Avoid logical OR duplication warning from gcc-6
The value EAGAIN is allowed by POSIX to be the same as EWOULDBLOCK, but this is
not guaranteed. Thus on some systems (e.g. glibc Linux), we get a warning that
the logical OR is being performed on two expressions of the same type. We can
not get rid of this test in case any system defines these as unique values.
Suggested-by: Dave Reisner
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 3729ef7a9acf75080fb6f60d13ea80cfd36d855d)
Diffstat (limited to 'proto')
0 files changed, 0 insertions, 0 deletions