fix bad init of prompt.
This commit is contained in:
parent
df6c0b59e9
commit
1f4108b0af
10
os/pl-file.c
10
os/pl-file.c
@ -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);
|
||||
|
Reference in New Issue
Block a user