IO patches

simplify error handling
use get and inject
use wide support in OS
be stricter in checkin streams and arguments
This commit is contained in:
Vítor Santos Costa
2015-10-08 02:23:45 +01:00
parent b788dc131d
commit b3cc23ce64
30 changed files with 1224 additions and 1381 deletions

View File

@@ -1530,7 +1530,7 @@ atom_to_term(term_t atom, term_t term, term_t bindings)
}
Term
Yap_StringToTerm(const char *s, size_t len, term_t bindings)
Yap_StringToTerm(const char *s, size_t *lenp, term_t bindings)
{ GET_LD;
read_data rd;
int rval;