From aa55e7300257210b057147810bde07c7dde0923c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U-WIN-U2045GN0RNQ=5CV=C3=ADtor=20Santos=20Costa?= Date: Fri, 21 Oct 2011 19:11:52 +0100 Subject: [PATCH] get back prompt without readline. --- os/pl-file.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/os/pl-file.c b/os/pl-file.c index 20afd54eb..300211c3d 100644 --- a/os/pl-file.c +++ b/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);