Well actually Smalltalk isMacOS9 can just answer false since a Pharo based image will never run on macintosh OS 9 (aka pre os-x) However which system attribute are you using? http://isqueak.org/getAttributeIntoLength what you think might be safe might surprise/bite you.... On 2010-08-03, at 1:38 PM, Stéphane Ducasse wrote:
Hi guys
I'm working on merging the changes 1298 about the guess of default end of line. And I would like to know on mac os x (compared to Os9) what is the default character of end of line. I thought it was CR
since the previous code was
((OSPlatform osVersion) beginsWith: 'darwin') ifTrue: [^ self defaultToCR] ifFalse: [^ self defaultToLF]]
but carlo wrote
Smalltalk isMacOS9 ifTrue: [^ self defaultToCR] ifFalse: [^ self defaultToLF]].
and I have some doubts because 'darwin' should be mac os x
Stef _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================