[comp.os.msdos.programmer] starters.kit and TC++

lavigne@skink.cis.ohio-state.edu (david lavigne) (10/30/90)

I apologize if this is not approbate for this group.

The uudecode.c program from the starters.kit from simtel20(wsmr) compiles
just fine once MSDOS is defined.  However when using the program to uudecode
a file, it produces a 0 length file.  I have trace the problem to the portion
of the code that writes to the outfile.  After about 520 characters are 
"putc" into the outfile stream I get a "bad file handle" error message from
the "putc" command. { I added perror command to the code to get this error}

I have looked over the code, but being rather new to C I am unable to determine
the cause of this error.  I am using TC++ 1.0 on a AT compatible.  

Since this is a rather specific question email would probably be the best
method of answering.

Ps.  First post so please set Flamethrowers to stun.

			Thanks.
.no sig