From 4a5a74929c133841bf323c7407261cdc48c105e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Thu, 17 Jun 2010 11:05:17 +0100 Subject: [PATCH] give correct opts to absolute_file_name --- pl/modules.yap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pl/modules.yap b/pl/modules.yap index 700841d9a..af072c58c 100644 --- a/pl/modules.yap +++ b/pl/modules.yap @@ -641,7 +641,7 @@ abolish_module(_). ; Goal = reexport(ModuleSource,Spec) ), - absolute_file_name(ModuleSource, File), + absolute_file_name(ModuleSource, File, [access(read),file_type(source),file_errors(fail),solutions(first)]), '$load_files'(File, [if(not_loaded),imports([])], Goal), recorded('$module', '$module'(FullFile, Mod, Exports),_), atom_concat(File, _, FullFile), !,