Hello,

I would suggest to replace the two methods
--------------------------------------------------------------
OSPRocess class >> platformName
"After Squeak version 3.6, #platformName was moved to SmalltalkImage "

^ ((Smalltalk classNamed: 'SmalltalkImage')
ifNil: [^ Smalltalk platformName]) current platformName

OSPRocess class >> osVersion
"After Squeak version 3.6, #osVersion was moved to SmalltalkImage "

^ ((Smalltalk classNamed: 'SmalltalkImage')
ifNil: [^ Smalltalk osVersion]) current osVersion

--------------------------------------------------------------
by:
 -------------------------------------------------------------
OSProcess class >> platformName
 ^ ((Smalltalk classNamed: 'OSPlatform')
ifNil: [
(Smalltalk classNamed: 'SmalltalkImage') current
ifNil: [^ Smalltalk platformName]]) platformName

OSProcess class >> osVersion
 ^ ((Smalltalk classNamed: 'OSPlatform')
ifNil: [
(Smalltalk classNamed: 'SmalltalkImage') current
ifNil: [^ Smalltalk osVersion]]) osVersion
------------------------------------------------------------

to avoid deprecation messages when using it in Pharo 1.2. Does it looks
good?  I'm not able to publish on the squeaksource repository
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to