Opened 12 years ago

Closed 11 years ago

#208 closed defect (fixed)

Files loaded via "--load <FILE>" on the command line have no pathname defaults

Reported by: Mark Evenson Owned by: ehuelsmann
Priority: minor Milestone: 1.1.0
Component: interpreter Version: 1.1.0-dev
Keywords: Cc:
Parent Tickets:


Wei-Lun Chiu reports

I have a file:
---- load-pathname.lisp -----
(print *load-pathname*)
When loaded, I get this:

java.exe -cp "abcl.jar" org.armedbear.lisp.Main --load load-path.lisp==> #P"load-path.lisp" 

According to CLHS, I believe this is wrong?
  During a call to load, *load-pathname* is bound to the pathname denoted by  the the first argument to load, merged against the defaults; that is, it  is bound to (pathname (merge-pathnames filespec)). 

Change History (1)

comment:1 Changed 11 years ago by ehuelsmann

Resolution: fixed
Status: newclosed

(In [14089]) Close #208: Merge pathname defaults.

Note: See TracTickets for help on using tickets.