Opened 10 years ago

Closed 10 years ago

#755 closed defect (fixed)

(user-homedir-pathname) not a constant?

Reported by: philpot Owned by:
Priority: normal Milestone:
Component: ANSI CL Compliance Version: trunk
Keywords: Cc:

Description 50%  ccl -n
Welcome to Clozure Common Lisp Version 1.4-r14334M  (LinuxX8632)!
? (user-homedir-pathname)

so far so good, but...

? (let ((*default-pathname-defaults*
          (make-pathname :directory '(:absolute "tmp")
             :name "dummy"
             :type "txt"
             :version :newest)))
? (let ((*default-pathname-defaults* #p"/tmp/a.b"))

Looks like some merging is going on, but why?

As I read the CLHS, user-homedir-pathname is supposed to return either a (presumably constant) pathname sans name, type, and version components -- or NIL.

Is this behavior conformant?


Change History (2)

comment:1 Changed 10 years ago by rme

r14344 (in the trunk) changes user-homedir-pathname so it doesn't call truename (and therefore doesn't call merge-pathnames).

comment:2 Changed 10 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.