[Pkg] The Trunk: System-eem.454.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 23 20:05:16 UTC 2011


Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.454.mcz

==================== Summary ====================

Name: System-eem.454
Author: eem
Time: 23 September 2011, 1:04:36.329 pm
UUID: 218a8aed-e375-4c88-8561-a060819ea29f
Ancestors: System-ul.453

Allow platformSourceVersion to fall back on sys attribute
1009 if primitivePlatformSourceVersion is unimplemented.

=============== Diff against System-ul.453 ===============

Item was changed:
  ----- Method: SmalltalkImage>>platformSourceVersion (in category 'vm') -----
  platformSourceVersion
  	"Answer a string corresponding to the version of the external platform source
  	code, typically written in C and managed separately for each platform. This
  	invokes an optional primitive that may not be available on all virtual machines."
  
  	"Smalltalk vm platformSourceVersion"
  
  	<primitive: 'primitivePlatformSourceVersion'>
+ 	(self getSystemAttribute: 1009) ifNotNil:
+ 		[:platformSourceVersion| ^platformSourceVersion].
+ 	self notify: 'This virtual machine supports neither the optional primitive #primitivePlatformSourceVersion nor the optional system attribute 1009' translated.
- 	self notify: 'This virtual machine does not support the optional primitive #primitivePlatformSourceVersion' translated.
  	^''!



More information about the Packages mailing list