CrLfFileStream needs platform specific startup

Pennell's pennell at tiac.net
Mon Dec 28 18:02:52 UTC 1998


CrLfFileStream class guessDefaultLineEndConventions should be
run during image startup so that it can determine the line end convention
for the platform the image is currently running on.

It seems safe to add this to add this to SystemDictionary processStartupList.

ChangeSet below:
------------------------------------------------------

'From Squeak 2.2 of Sept 23, 1998 on 28 December 1998 at 1:01:19 pm'!

!CrLfFileStream class methodsFor: 'class initialization'!
startUp
 self guessDefaultLineEndConvention! !


!SystemDictionary methodsFor: 'snapshot and quit' stamp: 'djp 12/28/1998 12:53'!
processStartUpList
 "Call the startUp method on each object that needs to gracefully restart itself after a snapshot."

 DisplayScreen startUp.
 FileDirectory startUp.
 Cursor startUp.
 Smalltalk installLowSpaceWatcher.
 InputSensor startUp.
 ProcessorScheduler startUp.
 Delay startUp.
 CrLfFileStream startUp.
 Smalltalk startUp.
 Smalltalk isMorphic
  ifTrue: [World fullRepaintNeeded]
  ifFalse: [ControlManager startUp].
! !





More information about the Squeak-dev mailing list