Subject: Re: CVS commit: syssrc
To: None <manu@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: source-changes
Date: 05/22/2001 18:51:50
[ On Wednesday, May 23, 2001 at 00:05:50 (+0300), Emmanuel Dreyfus wrote: ]
> Subject: CVS commit: syssrc
>
> 
> Module Name:	syssrc
> Committed By:	manu
> Date:		Tue May 22 21:05:50 UTC 2001
> 
> Modified Files:
> 	syssrc/sys/compat/linux/common: linux_termios.c
> 
> Log Message:
> When c_ospeed in termio is null, NetBSD hangup the terminal. Since Linux
> does not do this, we fake null c_ospeed values by -1 in the kernel, so
> that NetBSD does not hangup.

Given that apparently recent Linux kernels have "corrected" many otehr
termios details (eg. full and proper implementation of CREAD), perhaps
this won't be broken any more either?  Perhaps there should be separate
emlations for each major variant of the Linux kernel so that bug-for-bug
compatability can be properly maintained?

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>