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
-- System Information
Debian Release: potato
Kernel Version: Linux lyta 2.2.10 #8 Fri Jul 30 14:57:39 BST 1999 i586 unknown
Versions of the packages libc6-dev depends on:
ii libc6 2.1.2-0pre4 GNU C Library: Shared libraries and timezone
Reply to: