Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • Raymond Toy's avatar
    c07cad4b
    Fix #27: PATHNAME-MATCH-P loops for logical pathnames · c07cad4b
    Raymond Toy authored
    When support for search-lists was added to PATHNAME-MATCH-P, support
    for logical pathnames was broken because PATHNAME-MATCH-P eventually
    calls TRANSLATE-LOGICAL-PATHNAME which calls PATHNAME-MATCH-P with
    logical pathnames.  This caused infinite recursion.
    
    So add back the original PATHNAME-MATCH-P, but rename to
    %PATHNAME-MATCH-P and use that in TRANSLATE-LOGICAL-PATHNAME and
    friends.
    
    Add test for this case too.
    c07cad4b
    History
    Fix #27: PATHNAME-MATCH-P loops for logical pathnames
    Raymond Toy authored
    When support for search-lists was added to PATHNAME-MATCH-P, support
    for logical pathnames was broken because PATHNAME-MATCH-P eventually
    calls TRANSLATE-LOGICAL-PATHNAME which calls PATHNAME-MATCH-P with
    logical pathnames.  This caused infinite recursion.
    
    So add back the original PATHNAME-MATCH-P, but rename to
    %PATHNAME-MATCH-P and use that in TRANSLATE-LOGICAL-PATHNAME and
    friends.
    
    Add test for this case too.