fix lost buffer
This commit is contained in:
parent
029bf6e400
commit
eb700c647d
@ -329,7 +329,10 @@ initIO()
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
#ifdef __YAP_PROLOG__
|
#ifdef __YAP_PROLOG__
|
||||||
|
IOFUNCTIONS buf;
|
||||||
|
buf = GD->os.iofunctions;
|
||||||
memset(GD, 0, sizeof(gds_t));
|
memset(GD, 0, sizeof(gds_t));
|
||||||
|
GD->os.iofunctions = buf;
|
||||||
memset(LD, 0, sizeof(PL_local_data_t));
|
memset(LD, 0, sizeof(PL_local_data_t));
|
||||||
#endif
|
#endif
|
||||||
streamAliases = newHTable(16);
|
streamAliases = newHTable(16);
|
||||||
|
Reference in New Issue
Block a user