The Trunk: Files-dtl.164.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Files-dtl.164.mcz

commits-2
David T. Lewis uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-dtl.164.mcz

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

Name: Files-dtl.164
Author: dtl
Time: 28 August 2016, 10:55:13.088975 am
UUID: 4d4aaa9c-efd6-4ea2-8f37-d405243840da
Ancestors: Files-dtl.163

Avoid exception if TranscriptSteam is not present, and use #ifNotNil: instead of #ifNotNilDo:

=============== Diff against Files-dtl.163 ===============

Item was changed:
  ----- Method: FileStream class>>startUp: (in category 'system startup') -----
  startUp: resuming
 
  resuming ifTrue: [
  self voidStdioFiles.
  [ TheStdioHandles := self stdioHandles ]
  on: Error
  do: [:ex|
  TheStdioHandles isArray ifFalse: [
  TheStdioHandles := Array new: 3 ] ].
+ (Smalltalk classNamed: 'TranscriptStream')
+ ifNotNil: [ :t | "Reestablish dependency for stdout Transcript view"
+ t redirectToStdOut: t redirectToStdOut ] ]
+ !
- (Smalltalk at: #TranscriptStream)
- ifNotNilDo: [ :t | "Reestablish dependency for stdout Transcript view"
- t redirectToStdOut: t redirectToStdOut ] ]!