Ticket #69 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

Error parsing ext-formats:unidata.bin

Reported by: rtoy Owned by: somebody
Priority: major Milestone:
Component: Core Version: 2013-01
Keywords: Cc:

Description

Consider the following:

(setf (logical-pathname-translations "foo") 
  '(("**;*.*.*" "/tmp/**/*.*")))

(let ((*default-pathname-defaults* #p"foo:"))
  (pathname "/tmp/bar.lisp"))

This causes an error:

Unable to display error condition: 
File-error in function LISP::FIND-LOGICAL-HOST:
   Logical host not yet defined: "EXT-FORMATS"
   [Condition of type LISP::NAMESTRING-PARSE-ERROR]

This happens because CMUCL wants to look up some unicode property and needs to load the unicode database from ext-formats:unidata.bin. Because we use a namestring, this gets merged with *default-pathname-defaults* and is incorrectly parsed as a logical pathname namestring.

Change History

Changed 19 months ago by toy.raymond@…

  • status changed from new to closed
  • resolution set to fixed

commit ce037e96582861f0f78c071a0900803a3628f893 Author: Raymond Toy <toy.raymond@…> Date: Wed Jan 16 20:20:41 2013 -0800

Fix ticket:69

Change *unidata-path* to be a pathname object instead of a namestring.

Note: See TracTickets for help on using tickets.