[armedbear-ticket] [armedbear] #208: Files loaded via "--load <FILE>" on the command line have no pathname defaults

armedbear armedbear-devel at common-lisp.net
Sun May 6 13:58:57 UTC 2012


#208: Files loaded via "--load <FILE>" on the command line have no pathname
defaults
-------------------------+--------------------------------------------------
 Reporter:  mevenson     |       Owner:  ehuelsmann
     Type:  defect       |      Status:  new       
 Priority:  minor        |   Milestone:  1.1.0     
Component:  interpreter  |     Version:  1.1.0-dev 
 Keywords:               |  
-------------------------+--------------------------------------------------
 [http://article.gmane.org/gmane.lisp.armedbear.devel/2291 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)).

 }}}

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/208>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list