This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Joel Klecker <espy@debian.org> writes:

> 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

It's fixed now.  Thanks,

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]