Paolo Bonzini wrote:
In the meanwhile here is an easy fix involving lazy initialization.

Here is the same fix for devo.

Paolo
* looking for [EMAIL PROTECTED]/smalltalk--devo--2.2--patch-551 to compare with
* comparing to [EMAIL PROTECTED]/smalltalk--devo--2.2--patch-551
M  ChangeLog
M  kernel/PkgLoader.st
M  scripts/Finish.st

* modified files

--- orig/ChangeLog
+++ mod/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-08  Paolo Bonzini  <[EMAIL PROTECTED]>
+
+       * kernel/PkgLoader.st: Avoid refreshing the list if filing in no
+       package.
+       * scripts/Finish.st: Clear ExecutableFileName before saving.
+
 2007-09-05  Paolo Bonzini  <[EMAIL PROTECTED]>
 
        * kernel/ArrayColl.st: Guard #join:separatedBy: for empty separator.


--- orig/kernel/PkgLoader.st
+++ mod/kernel/PkgLoader.st
@@ -1232,6 +1232,8 @@ fileInPackage: package
 fileInPackages: packagesList
     "File in all the packages in packagesList into GNU Smalltalk."
     | toBeLoaded |
+    packagesList isEmpty ifTrue: [ ^self ].
+
     self refresh.
     toBeLoaded := root
        extractDependenciesFor: packagesList


--- orig/scripts/Finish.st
+++ mod/scripts/Finish.st
@@ -53,6 +53,7 @@ oldKernelBasePath = newKernelBasePath if
 ImageFileName := 'gst.im'.
 ImageFilePath := newImagePath.
 KernelFilePath := newKernelBasePath, '/kernel'.
+ExecutableFileName := nil.
 UserFileBasePath := nil!
 
 PackageLoader flush!



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to