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]

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


[ Forwarded from the Debian BTS, you know the drill ]

Details for this Debian revision:

Host type: i386-pc-linux-gnu
Addons: crypt linuxthreads nss-v1
Build CC: gcc
Compiler version: 2.95 19990728 (release)
Kernel headers: 2.2.10
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

Sources are 2.1.2pre2.

--- begin forwarded text
Subject: Bug#42579: libc6-dev: bits/socket.h has bad definition of MSG_DONTWAIT
Reply-To: russell@coker.com.au, 42579@bugs.debian.org
From: russell@coker.com.au
To: submit@bugs.debian.org
Date: Fri,  6 Aug 1999 19:22:13 +0100 (BST)
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/43931
X-Loop: debian-bugs-dist@lists.debian.org
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Status:

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
--- end forwarded text


-- 
Joel Klecker (aka Espy)       <URL:mailto:espy@debian.org>
Debian Package Maintainer for the GNU C Library.

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