Bug in cm.c for TrmHP.c which I posted

chris at umcp-cs chris at umcp-cs
Thu Nov 10 07:07:21 AEST 1983


In cm.c, there is a baudrate sanity test which is backwards.  Find
costinit() and there is a line which says

	BaudFactor = (ospeed < B0 || ospeed > EXTB) ? factors[ospeed] : 0.0;

It should read

	BaudFactor = (ospeed < B0 || ospeed > EXTB) ? 0.0 : factors[ospeed];

(I haven't been using 9600 baud recently...)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris.umcp-cs at CSNet-Relay



More information about the Comp.sources.unix mailing list