Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 1995 01:45:33 -0800 (PST)
From:      -Vince- <vince@apollo.COSC.GOV>
To:        Yog Sothoth <death@apollo.COSC.GOV>
Cc:        freebsd-current@freebsd.org
Subject:   Re: select() and setrlimit() broken (fwd)
Message-ID:  <Pine.BSF.3.91.951129014412.22740l-100000@apollo.COSC.GOV>
In-Reply-To: <199511282334.PAA14029@apollo.COSC.GOV>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Nov 1995, Yog Sothoth wrote:

> > ---------- Forwarded message ----------
> > Date: Tue, 28 Nov 1995 09:01:59 +0100 (MET)
> > From: J Wunsch <j@uriah.heep.sax.de>
> > To: FreeBSD-current users <freebsd-current@FreeBSD.org>
> > 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).

	It did work in 2.05R and just doesn't work with -current...

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951129014412.22740l-100000>