[BUG][FIX] abandonSources fails on 2.8a

Stefan Matthias Aust sma at 3plus4.de
Sun Feb 6 15:28:13 UTC 2000


I tried a "Smalltalk majorShrink; abandonSources; lastRemoval" on a
2.8a/1789 image and noticed that here's an error in
SystemDictionary>>lastUpdateString which is called from condenseChanges
during abandonSources.  When this method tries to determine the patch level
by calling "ChangeSorter highestNumberedChangeSet" the ChangeSorter class
has already been stripped.

This changeset works around this problem:

'From Squeak2.7 of 5 January 2000 [Unknown update number] on 6 February
2000 at 4:02:36 pm'!

!SystemDictionary methodsFor: 'sources, change log' stamp: 'sma 2/6/2000
16:08'!
lastUpdateString
	| aNumber |
	aNumber _ (Smalltalk
		at: #ChangeSorter
		ifAbsent: [^ 'Unknown update number']) highestNumberedChangeSet.
	^ (aNumber notNil and: [aNumber > 0])
		ifTrue: ['latest update: #' , aNumber printString]
		ifFalse: ['No updates present.']! !
--
Stefan Matthias Aust  //  Bevor wir fallen, fallen wir lieber auf.





More information about the Squeak-dev mailing list