Skip to content

Fix #27: pathname-match-p infinite recursion

Raymond Toy requested to merge rtoy-fix-27-pathname-match-p into master

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.

Merge request reports

Loading