From 5871d292ddcc2363d8f948f3a9f7f5fb3b041566 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Sun, 26 Sep 2010 20:40:51 +0000 Subject: [PATCH] Actually set the library search list to the saved value. Previously we weren't because *cmucl-lib* is almost always bound. Normally *old-cmucl-library-search-list* is unbound, but when a core is made, it becomes bound. We use that to indicate that the library search list should be set to *old-cmucl-library-search-list*. --- code/save.lisp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/save.lisp b/code/save.lisp index 368dba660..3607434f8 100644 --- a/code/save.lisp +++ b/code/save.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/save.lisp,v 1.70 2010/05/16 12:28:31 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/save.lisp,v 1.71 2010/09/26 20:40:51 rtoy Rel $") ;;; ;;; ********************************************************************** ;;; @@ -110,7 +110,9 @@ (list (default-directory)))) (setf (search-list "library:") - (if (boundp '*cmucl-lib*) + (if (and (boundp '*cmucl-lib*) + #+:executable + (not (boundp '*old-cmucl-library-search-list*))) (parse-unix-search-path *cmucl-lib*) (or #+:executable -- GitLab