[squeak-dev] The Trunk: Network-nice.100.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 14 14:20:55 UTC 2010


Nicolas Cellier uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-nice.100.mcz

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

Name: Network-nice.100
Author: nice
Time: 14 December 2010, 3:20:48.089 pm
UUID: 8a9a2565-b695-b447-becd-168c75211f4f
Ancestors: Network-ul.99

Normalize the newly created LargePositiveInteger.

=============== Diff against Network-ul.99 ===============

Item was changed:
  ----- Method: UUIDGenerator>>makeUnixSeed (in category 'random seed') -----
  makeUnixSeed
  	^[FileStream readOnlyFileNamed: '/dev/urandom' do: [:strm |
  		strm binary.
  		strm converter: Latin1TextConverter new.
  		Integer
  			byte1: strm next
  			byte2: strm next
  			byte3: strm next
+ 			byte4: strm next;
+ 			normalize].
- 			byte4: strm next].
  	] on: FileStreamException do: [nil]!




More information about the Squeak-dev mailing list