Skip to content
  • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
    CL:DIRECTORY no longer errors on files containing asterisk characters · 6d0bc625
    Fix non-restartable error on entries which are WILD-PATHNAME-P by
    changing the method signature of SYS:FILE-DIRECTORY-P to:
    
           pathspec &key (wild-error-p t)
    
    Have CL:DIRECTORY use (SYS:FILE-DIRECTORY-P PATHSPEC :wild-error-p
    nil).
    
    TODO: The #\* character should be treated as a literal #\* in calls
    PROBE-{FILE,DIRECTORY}, but we currently have no distinct
    representations. PATHNAME components which have wildcards need to have
    different representations of wildcard characters vs. their namestring
    representation.  SBCL does a reasonable job here, although it will
    mean revisiting the implementation in Pathname.java, so it is
    advisable to take the time to make a reasonable test suite.
    
    <> :addresses <http://abcl.org/trac/ticket/391> .
    6d0bc625