The Trunk: Collections-eem.472.mcz

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

The Trunk: Collections-eem.472.mcz

commits-2
Eliot Miranda uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-eem.472.mcz

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

Name: Collections-eem.472
Author: eem
Time: 11 April 2012, 9:37:25.167 am
UUID: 6439a628-62fe-4bf6-8677-043ed588def0
Ancestors: Collections-eem.471

Revert to a non-thread-safe TranscriptStream>contents to
avoid deadlock in things like Compiler>recompileAll.

=============== Diff against Collections-eem.471 ===============

Item was changed:
  ----- Method: TranscriptStream>>contents (in category 'accessing') -----
  contents
+ "Override to update lastChar."
+ position > 0 ifTrue:
+ [lastChar := collection at: position].
+ ^super contents!
- ^AccessSema critical:
- [| contents sz |
- contents := super contents. (sz := contents size) > 0 ifTrue:
- [lastChar := contents at: sz].
- contents]!