Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!floyd!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!uiuccsb!purtilo From: purtilo@uiuccsb.UUCP Newsgroups: net.emacs Subject: Re: guido mchan fix (LONG MSG) - (nf) Message-ID: <2624@uiucdcs.UUCP> Date: Tue, 23-Aug-83 05:28:41 EDT Article-I.D.: uiucdcs.2624 Posted: Tue Aug 23 05:28:41 1983 Date-Received: Fri, 26-Aug-83 00:05:37 EDT Lines: 40 #R:uiuccsb:7400001:uiuccsb:7400003:000:1364 uiuccsb!purtilo Aug 22 23:40:00 1983 Concerning that mchan.c fix: Got word of a fix to the fix ... Date: 21 Aug 1983 13:46-EST From: James Gosling Subject: Re: guido mchan fix (LONG MSG) - (nf) To: pur-ee!uiucdcs!uiuccsb!purtilo@BERKELEY In-Reply-To: pur-ee!uiucdcs!uiuccsb!purtilo's message of 18 Aug 83 Unfortunatly, your "fix" is wrong and the original was right. I quote from the manual: If timeout is a non-zero pointer, it specifies a maximum interval to wait for the selection to complete. If timeout is a zero pointer, the select blocks indefinitely. To affect a poll, the timeout argument should be non-zero, pointing to a zero valued timeval structure. So the correct value for the "timeout" parameter was the original zero pointer. Also, you forgot the "exceptfds" parameter and to put the "timeout" in a pass-by-reference "timeval" structure. Please post a correction to unix-emacs. James. ----------------- Well, my man page didn't read that way; a little poking around here uncovered for me a 4.1c man page which does read that way. We're running 4.1a here, so if that's your flavor too then use the fix I had posted, else use the fix to the fix (i.e. use the original text). Looking forward to when the powers that be here get us 4.1c ... Jim Purtilo