Ticket #1070 (closed defect: fixed)
PROBE-FILE looks like it's not using MERGE-PATHNAMES anymore
|Reported by:||fare||Owned by:||gz|
|Priority:||normal||Milestone:||Clozure CL 1.9|
|Component:||Runtime (threads, GC)||Version:||trunk|
(setf (ccl:current-directory) #p"/tmp/") (let ((*default-pathname-defaults* #p"/")) (probe-file "/etc")) ;;==> #p"/etc/" ; on CCL 1.9 15581 ;;==> NIL ; on CCL 1.9 15773
Remarkably, the CLHS entry for PROBE-FILE doesn't seem to mention *DEFAULT-PATHNAME-DEFAULTS* or MERGE-PATHNAMES, unlike OPEN which at least mentions the latter and implies its use. So that makes PROBE-FILE also subtly different from OPEN (assuming OPEN is unaffected -- is it? I have tested). http://clhs.lisp.se/Body/f_probe_.htm
In any case, this is probably a bug, and if not, a change that should be prominently documented.