]> git.saurik.com Git - apt.git/commit - apt-pkg/contrib/strutl.cc
drop explicit check for EWOULDBLOCK if it has the same value as EAGAIN
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 25 Jan 2016 19:05:54 +0000 (20:05 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Tue, 26 Jan 2016 14:32:15 +0000 (15:32 +0100)
commit3b0e76ec9c9386e428944f621b970d691884b84a
treec8cba9dfe64816236c1a48035294143336c6f3cd
parent96f66f82cfcd3f21f73542375f9c722ac907c076
drop explicit check for EWOULDBLOCK if it has the same value as EAGAIN

gcc correctly reports that we check for the same value twice, expect
that the manpage of read(2) tells us to do it for portability, so to
make both sides happy lets add a little #if'ing here.

Reported-By: gcc-6
Git-Dch: Ignore
apt-pkg/contrib/strutl.cc