warnings and stream read wchar simplification

This commit is contained in:
Vitor Santos Costa
2016-08-01 19:17:56 -05:00
parent a82a72fc14
commit 304489c74f
6 changed files with 394 additions and 328 deletions

View File

@@ -1181,7 +1181,7 @@ const char *Yap_findFile(const char *isource, const char *idef,
YAP_file_type_t ftype, bool expand_root, bool in_lib) {
char *save_buffer = NULL;
const char *root, *source = isource;
const char *root = iroot, *source = isource;
int rc = FAIL_RESTORE;
int try
= 0;