pending change for getAttribute 1001, 1002

John M McIntosh johnmci at smalltalkconsulting.com
Fri May 25 07:15:52 UTC 2001


Tim was kind enough to point out the Smalltalk getSystemAttribute: 
was rather stupid.

	1002 - operating system version
	1003 - this platform's processor type

On the mac historically this returned

	 "System 7 or Later"
	 "PowerPC or 68K"

Which is really quite useless. Sometime in the future it will return 
a string of hex values according to gestaltSystemVersion

'910' for system 9.1.0
'1003' for system 10.0.3

For the processor type it will return either 68K or PowerPC depending 
on gestaltSysArchitecture

Now I don't think anyone is look at these values and making decisions 
for the macOS (I do see some acorn stuff). However I thought I'd 
better check.

Hint someone should change the mailout bug report logic to pick up 
more than attribute 1001 (platform) It should also pick up 1002, and 
1003. This might be useful because some issues are OS related, 
especially when you run System 7.5.5.

-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





More information about the Squeak-dev mailing list