[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#42579: libc6-dev: bits/socket.h has bad definition of MSG_DONTWAIT



Package: libc6-dev
Version: 2.1.2-0pre4
Severity: normal

On line 182 of this file it defines MSG_DONTWAIT to be MSG_TRUNC which
results in my program giving 0x20 instead of the desired 0x40 to the system
call and thus my program fails.
I have changed this line to be the following (matching what is done with the
surrounding code).  Now my program works as it did before.

#define MSG_DONTWAIT    MSG_DONTWAIT

Hi,

I forwarded this upstream, and it has been fixed there. I'll be updating to current CVS sources sometime tomorrow. Thanks for the report.
--
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>


Reply to: