From owner-freebsd-hackers Thu Apr 24 15:28:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA05559 for hackers-outgoing; Thu, 24 Apr 1997 15:28:29 -0700 (PDT) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA05549 for ; Thu, 24 Apr 1997 15:28:25 -0700 (PDT) Received: (qmail 29687 invoked by uid 5); 24 Apr 1997 22:28:22 -0000 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id IAA01998; Fri, 25 Apr 1997 08:23:05 +1000 (EST) From: John Birrell Message-Id: <199704242223.IAA01998@freebsd1.cimlogic.com.au> Subject: Re: Possible broken libc_r To: nw1@cs.wustl.edu (Nanbor Wang) Date: Fri, 25 Apr 1997 08:23:04 +1000 (EST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199704232124.QAA21626@siesta.cs.wustl.edu> from Nanbor Wang at "Apr 23, 97 04:24:05 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nanbor Wang wrote: > Hi All, > > I found a possible bug in libc_r. Below is a very simple test > program. What I did was I opened a socket in the localhost between > client and server program. When I compiled the program with > non-threaded library, everything worked just fine. However, when I > compiled it using libc_r, the recv() system call seemed to be broken. > Without any specific manipulation, it acted as if I had turn on the > non-blocking flag. Is this a bug or I did something terribly wrong? What version is this? Current or 2.2? See what happens if you avoid stdin and stdout. > > TIA. > > Nanbor [...] Regards, -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, 119 Cecil Street, South Melbourne Vic 3205, Australia Tel +61 3 9690 6900 Fax +61 3 9690 6650 Mob +61 418 353 137