[squeak-dev] The Trunk: Network-cmm.101.mcz

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


Chris Muller uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-cmm.101.mcz

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

Name: Network-cmm.101
Author: cmm
Time: 14 December 2010, 2:00:15.884 pm
UUID: e8e30b98-a243-41bb-8a84-748016c865ab
Ancestors: Network-nice.100

Fix UUIDGenerator>>makeUnixSeed.

=============== Diff against Network-nice.100 ===============

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




More information about the Squeak-dev mailing list