close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 11 years ago

Closed 11 years ago

#69 closed defect (fixed)

Error parsing ext-formats:unidata.bin

Reported by: Raymond Toy 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 (1)

comment:1 Changed 11 years ago by toy.raymond@…

Resolution: fixed
Status: newclosed

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.