Sorry I screwed up again.. The FSC program I posted has a big error.
In the last function, int change( FILE *infile, char *filename )
the six case statements end with
if( this_f == NULL )
break;
They should be changed to read.
if( this_f->next == NULL )
break;
Shows what happens when you don't test well. Unchanged an extra loop is done
duplicating the first half of the file being changed.
Bob..
... Two most common elements in the universe: Hydrogen & Stupidity.
--- Blue Wave v2.12 [NR]
---------------
* Origin: bloom county bbs * dearborn, mi * (313)582-0888 (1:2410/400)
|