Changeset 4329 for trunk

Show
Ignore:
Timestamp:
06/28/08 16:50:20 (5 months ago)
Author:
pmoura
Message:

Updated the SWI-Prolog hook file, "swihook.pl", to avoid hijacking the arguments of use_module/1-2 calls (which resulted in wrongly loading Logtalk libraries with the same name as the SWI-Prolog library modules we intended to load).

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/configs/swihook.pl

    r4323 r4329  
    88%  make/0 
    99% 
    10 %  last updated: August 24, 2006 
     10%  last updated: June 29, 2008 
    1111%  
    1212%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    1818 
    1919user:prolog_load_file(_:Spec, Options) :- 
     20    \+ '$lgt_member'(must_be_module(true), Options),    % exclude calls to use_module/1-2 
    2021    (   atom(Spec) -> 
    2122        expand_file_name(Spec, [SpecExp]), 
  • trunk/RELEASE_NOTES.txt

    r4327 r4329  
    1515    Restored the redefined entity warnings for back-end Prolog compilers  
    1616    that support multifile predicates. Simplified updating of the runtime  
    17     tables when compiling and loading with back-end Prolog compilers that  
    18     don't support multifile predicates. 
     17    tables when compiling and loading source files with back-end Prolog  
     18    compilers that don't support multifile predicates. 
    1919 
    2020    Changed the representation of the runtime tables for loaded entities  
     
    4040    issues with the default setting of the proprietary "iso" Prolog flag  
    4141    to "true". 
     42 
     43    Updated the SWI-Prolog hook file, "swihook.pl", to avoid hijacking the  
     44    arguments of use_module/1-2 calls (which resulted in wrongly loading  
     45    Logtalk libraries with the same name as the SWI-Prolog library modules  
     46    we intended to load). 
    4247 
    4348