SapphireDensetsu / mcl

Automatically exported from code.google.com/p/mcl
Other
0 stars 0 forks source link

Logical pathnames with a "newest" component causes failure to translate pathnames #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The problem occurs after loading the portable usocket library, which defines a 
logical pathname translation with a .newest version component:

    (setf (logical-pathname-translations "usocket")
          `(("**;*.*.NEWEST" ,(loading-file-source-file))
            ("**;*.*" ,(loading-file-source-file))))

MCL doesn't properly resolve such logical pathnames. For example, probe-file 
signals an error reporting that NIL is not of the expected type (OR STRING 
ENCODED-STRING PATHNAME STREAM).

The following functions need to be modified to accommodate a "newest" pathname 
version component:

pathname-match-p
translate-pathname

Original issue reported on code.google.com by terje.norderhaug on 17 May 2011 at 9:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed by revision 045681d521e5

Original comment by terje.norderhaug on 17 May 2011 at 9:20