fix bad init of prompt.

This commit is contained in:
Vítor Santos Costa 2011-10-20 22:25:07 +01:00
parent df6c0b59e9
commit 1f4108b0af

View File

@ -328,16 +328,6 @@ initIO()
const atom_t *np;
int i;
#ifdef __YAP_PROLOG__
volatile IOFUNCTIONS buf;
buf = *Sinput->functions;
memset(GD, 0, sizeof(gds_t));
memset(LD, 0, sizeof(PL_local_data_t));
GD->os.iofunctions = buf;
Sinput->functions = &GD->os.iofunctions;
Soutput->functions = &GD->os.iofunctions;
Serror->functions = &GD->os.iofunctions;
#endif
streamAliases = newHTable(16);
streamContext = newHTable(16);
PL_register_blob_type(&stream_blob);