From: SourceForge.net <no...@so...> - 2010-12-10 20:05:58
|
Bugs item #3124200, was opened at 2010-11-30 22:52 Message generated for change (Comment added) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3124200&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: clisp Group: lisp error >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Pascal J. Bourguignon (informatimago) >Assigned to: Sam Steingold (sds) >Summary: setting *DEFAULT-PATHNAME-DEFAULTS* breaks REQUIRE Initial Comment: With clisp 2.49, when you set *default-pathname-defaults* to a different directory, REQUIRE doesn't find the dynmods anymore. [pjb@kuiper :0.0 ~]$ clisp -ansi -q -norc [1]> custom:*load-paths* (#P"./" "~/lisp/**/") [2]> *default-pathname-defaults* #P"" [3]> (setf *default-pathname-defaults* (ext:cd)) #P"/home/pjb/" [4]> (require "linux") *** - LOAD: A file with name linux does not exist The following restarts are available: ABORT :R1 Abort main loop Break 1 [5]> :q [6]> (setf *default-pathname-defaults* #P"") #P"" [7]> (require "linux") ;; Loading file /data/languages/clisp-2.49/lib/clisp-2.49/dynmod/linux.lisp ... ;; Loading module linux from /data/languages/clisp-2.49/lib/clisp-2.49/dynmod/lib-linux.so ;; Loaded module linux from /data/languages/clisp-2.49/lib/clisp-2.49/dynmod/lib-linux.so ;; Loading file /data/languages/clisp-2.49/lib/clisp-2.49/bindings/glibc/linux.fas ... ;; Loaded file /data/languages/clisp-2.49/lib/clisp-2.49/bindings/glibc/linux.fas ;; Loading file /data/languages/clisp-2.49/lib/clisp-2.49/bindings/glibc/wrap.fas ... ;; Loaded file /data/languages/clisp-2.49/lib/clisp-2.49/bindings/glibc/wrap.fas ;; Loaded file /data/languages/clisp-2.49/lib/clisp-2.49/dynmod/linux.lisp T [8]> (quit) [pjb@kuiper :0.0 ~]$ Also, I note that require takes the symbol name as module name, but on systems with a lower customary case, it would be better to apply the customary case common-to-local mapping rules. This would allow us to use: (require :asdf) like in the other implementations when clisp will include asdf... (The rules about common case were choosen to match the upcasing of lisp symbols, so it seems logical to consider symbols as logical pathnames parts). ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2010-12-10 15:05 Message: thank you for your bug report. the bug has been fixed in the CVS tree. you can either wait for the next release (recommended) or check out the current CVS tree (see http://clisp.cons.org) and build CLISP from the sources (be advised that between releases the CVS tree is very unstable and may not even build on your platform). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3124200&group_id=1355 |