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
dixiechicks.isi.edu 50% ccl -n Welcome to Clozure Common Lisp Version 1.4-r14334M (LinuxX8632)! ? (user-homedir-pathname) #P"/nfs/isd3/philpot/" so far so good, but... ? (let ((*default-pathname-defaults* (make-pathname :directory '(:absolute "tmp") :name "dummy" :type "txt" :version :newest))) (user-homedir-pathname)) #P"/" ? (let ((*default-pathname-defaults* #p"/tmp/a.b")) (user-homedir-pathname)) #P"/nfs/isd3/philpot/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? Andrew
Change History (2)
comment:1 Changed 10 years ago by rme
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.
r14344 (in the trunk) changes user-homedir-pathname so it doesn't call truename (and therefore doesn't call merge-pathnames).