From owner-freebsd-current Tue Nov 28 15:38:01 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA16835 for current-outgoing; Tue, 28 Nov 1995 15:38:01 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA16827 for ; Tue, 28 Nov 1995 15:37:55 -0800 Received: (from death@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id PAA14029; Tue, 28 Nov 1995 15:34:54 -0800 From: Yog Sothoth Message-Id: <199511282334.PAA14029@apollo.COSC.GOV> Subject: Re: select() and setrlimit() broken (fwd) To: vince@apollo.COSC.GOV (-Vince-) Date: Tue, 28 Nov 1995 15:34:54 -0800 (PST) Cc: freebsd-current@freebsd.org In-Reply-To: from "-Vince-" at Nov 28, 95 01:55:51 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2186 Sender: owner-current@freebsd.org Precedence: bulk > > Can you reply to this message to the FreeBSD-current list as well and > tell them what the suspected misbehavior was? Thanks! > > Cheers, > -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince > UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) > Chabot Observatory & Science Center - Board of Advisors > Running FreeBSD - Real UN*X for Free! > Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club > Mailing Lists Admin > > > ---------- Forwarded message ---------- > Date: Tue, 28 Nov 1995 09:01:59 +0100 (MET) > From: J Wunsch > To: FreeBSD-current users > Subject: Re: select() and setrlimit() broken > > As -Vince- wrote: > > > > > > Does anyone know if select() and setrlimit() is broken in -CURRENT since > > they don't behave the way they should as compared to every other UN*X > > variant. Any info would be helpful. Thanks! > > They are not. The entire system wouldn't work if they were. > > You forgot to tell us your suspected misbehaviour, btw. On SunOS 4.1.3, solaris, linux, ultrix, irix, ... my chatline program stayed at the line where select() was when nobody was logged on or when nobody was typing. It's acts in char mode telnet. On freebsd-current, it doesn't stay at select() when nobody is logged on or when nobody is typing. select line is something like select((fd_set *)readfds, (fd_set *)0, (fd_set *)0, (time_t *)0); the file descriptors for each socket is set for i/o non-blocking with fcntl() ... (can't remember the exact syntax offhand .. I'm on the fly right now) (it's something like that ... I don't do unix C programming any longer .. I'm quoting from memory ... I was forwarded this letter from somebody using my chatline code). btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 and previous versions 1.5.1.1 (or whatever version that novell doesn't want anybody using). Gord J.C. > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > >