make sure we do a full reset after Scleanup.
This commit is contained in:
parent
811606059e
commit
6c284faf8b
@ -3335,9 +3335,12 @@ static const IOSTREAM S__iob0[] =
|
||||
};
|
||||
|
||||
|
||||
/* vsc: Scleanup should reset init done */
|
||||
static int done;
|
||||
|
||||
void
|
||||
SinitStreams(void)
|
||||
{ static int done;
|
||||
{
|
||||
|
||||
if ( !done++ )
|
||||
{ int i;
|
||||
@ -3464,4 +3467,5 @@ Scleanup(void)
|
||||
|
||||
*s = S__iob0[i]; /* re-initialise */
|
||||
}
|
||||
done = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user