This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Fwd: Bug#42579: libc6-dev: bits/socket.h has bad definition of MSG_DONTWAIT
- To: Joel Klecker <espy@debian.org>
- Subject: Re: Fwd: Bug#42579: libc6-dev: bits/socket.h has bad definition of MSG_DONTWAIT
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 06 Aug 1999 15:59:31 -0700
- Cc: libc-alpha@sourceware.cygnus.com, 42579-forwarded@bugs.debian.org
- References: <v04205500b3d103384886@[206.163.71.146]>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------