Mail Archives: djgpp/1997/07/24/12:20:56
From: | Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | BCSIO trouble
|
Date: | Thu, 24 Jul 1997 11:50:41 +0200
|
Organization: | Lehrstuhl fuer Stroemungsmechanik
|
Lines: | 44
|
Message-ID: | <33D72571.4DD4A21C@LSTM.Ruhr-UNI-Bochum.De>
|
NNTP-Posting-Host: | c64.lstm.ruhr-uni-bochum.de
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
<HTML>
<TT>Hi all</TT>
<BR><TT>what is wrong with this piece of code:</TT><TT></TT>
<P><TT>/* Initializing stuff like in bcsio20/test.c */</TT>
<BR><TT> while( EOF != (c=fgetc(f))){</TT>
<BR><TT> sio_put(comPort,c);</TT>
<BR><TT> while( sio_senddone( comPort ) );</TT>
<BR><TT> }</TT>
<BR><TT>The program immediately crashes with an SIGSEGV</TT>
<BR><TT>in sio_senddone().</TT>
<BR><TT>The supplied terminal program also crashes, but mostly</TT>
<BR><TT>with a GPF in RMCB.</TT>
<BR><TT>Any idea what might be wrong?</TT>
<BR><TT></TT><TT></TT>
<P><TT>BTW, I had to update to NetScape 4.0, so if this post</TT>
<BR><TT>contains HTML, I am sorry, send me a personal flame, or</TT>
<BR><TT>even better, how to switch this idiotic feature off.</TT>
<BR><BR>
-- <BR>
Ciao<BR>
Tom<BR>
<BR>
*************************************************************<BR>
* Thomas Demmer
*<BR>
* Lehrstuhl fuer Stroemungsmechanik
*<BR>
* Ruhr-Uni-Bochum
*<BR>
* Universitaetsstr. 150
*<BR>
* D-44780 Bochum
*<BR>
* Tel: +49 234 700 6434
*<BR>
* Fax: +49 234 709 4162
*<BR>
* <A HREF="http://www.lstm.ruhr-uni-bochum.de/~demmer">http://www.lstm.ruhr-uni-bochum.de/~demmer</A>
*<BR>
*************************************************************
<BR></HTML>
- Raw text -