Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!udel!mmdf From: I5110401%DBSTU1.BITNET@cunyvm.cuny.edu (Hello world !!) Newsgroups: comp.os.minix Subject: Re: ST(PC?): kernel ansification ... Message-ID: <28136@nigel.ee.udel.edu> Date: 22 Aug 90 14:13:41 GMT Sender: mmdf@ee.udel.edu Lines: 40 Hello *, it has been brought to my attention that there's a syntax error in rs232.c. I do not really understand how this could have happened. I'm using make all the time, so i suspect i confused my clock or something like that. However, appended to this mail you will find the fix as sent to me by Rainer Orth (ro@thp.uni-koeln.de). It concerns a misplaced cast. Please apply by hand, since bitnet transmission will surely damage the contents of this mail. As a side note, rs232.c has not been intensively tested yet. Neither i have the resources nor the time to do that. Transmission without RTS/CTS hard- ware handshake seems to work well (at least i was able to kermit some files with 9600 baud). I can't test hardware handshaking due to a bug in the ST's native operating system, TOS. ===snip===snip===snip===snip===snip===snip===snip===snip===snip===snip=== *** rs232.c~ Thu Jul 12 11:07:50 1990 --- rs232.c Mon Aug 20 15:04:31 1990 *************** *** 326,331 **** * deviation of max. 5%. */ ! if (((UART_FREQ - (long)divisor*in_baud > UART_FREQ / 20) && ! (UART_FREQ - ++(long)divisor*in_baud < -UART_FREQ / 20)) divisor == 0 divisor > 256) printf ("tty line %d: can't set speed %d\n", minor, in_baud); --- 326,331 ---- * deviation of max. 5%. */ ! if (((UART_FREQ - (long) divisor*in_baud > UART_FREQ / 20) && ! (UART_FREQ - (long)++divisor*in_baud < -UART_FREQ / 20)) divisor == 0 divisor > 256) printf ("tty line %d: can't set speed %d\n", minor, in_baud); ========================================================================= " This space intentionally left blank " Kai-Uwe Bloem, I5110401@DBSTU1.BitNet, ...!unido!dbstu1.bitnet!i5110401, I5110401%DBSTU1.BITNET@CORNELLC.CCS.CORNELL.EDU (or other known gateways) student of cs at Technische Universitaet Braunschweig / w-germany