Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ut-ngp.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!ut-sally!ut-ngp!clyde From: clyde@ut-ngp.UUCP (Clyde W. Hoover) Newsgroups: net.bugs.2bsd Subject: 2.9 select bug Message-ID: <1040@ut-ngp.UUCP> Date: Fri, 19-Oct-84 10:50:35 EDT Article-I.D.: ut-ngp.1040 Posted: Fri Oct 19 10:50:35 1984 Date-Received: Sat, 20-Oct-84 07:43:17 EDT Organization: U.Texas Computation Center, Austin, Texas Lines: 29 Subject: Select timeouts broken Index: /usr/src/sys/sys/sysent.c 2.9BSD Description: Select calls with timeouts will return immediantly if the timeout period is less than 65535. The low word of the timeout duration argument to the system call (a long), is not being copied out of user space. Repeat-By: This only matters if you have UCB_NET turned on. Do a select for less than < 65535 milliseconds and watch it return immediantly. Fix: (sysent.c) < 4, 0, select /* ..... */ > 5, 0, select /* ..... */ I think this should change the behavior of the network somewhat also, since all the net daemon timeouts will really be as long as they are supposed to be. -- Shouter-To-Dead-Parrots @ Univ. of Texas Computation Center; Austin, Texas "Let's show this prehistoric bitch how we do things downtown" clyde@ut-ngp.ARPA, clyde@ut-sally.ARPA ...!ihnp4!ut-ngp!clyde, ...!allegra!ut-ngp!clyde