Re: [PATCH] Default pathname for systems
Gary King <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
This patch has been applied as of right now. ASDF is at 1.105. On Jan 21, 2007, at 12:30 PM, Richard M Kreuter wrote: > Hello, > > The pathname defaulting in defsystem looks like it's supposed to fail > over to *default-pathname-defaults* under some circumstances, but an > error is signalled when *load-truename* is nil. I think this tiny > change makes the code do what was intended. This makes it slightly > easier to call defsystem from the repl. > > Thanks, > RmK > > Index: asdf.lisp > =================================================================== > RCS file: /cvsroot/cclan/asdf/asdf.lisp,v > retrieving revision 1.103 > diff -u -r1.103 asdf.lisp > --- asdf.lisp 21 Jan 2007 14:09:51 -0000 1.103 > +++ asdf.lisp 21 Jan 2007 17:24:37 -0000 > @@ -939,8 +939,9 @@ > :module (coerce-name ',name) > :pathname > (or ,pathname > - (pathname-sans-name+type > - (resolve-symlinks *load-truename*)) > + (when *load-truename* > + (pathname-sans-name+type > + (resolve-symlinks *load-truename*))) > *default-pathname-defaults*) > ',component-options)))))) > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > cclan-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cclan-list -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642