--- a/RandomGenerator.st Tue Aug 16 14:39:54 2016 +0200
+++ b/RandomGenerator.st Mon Aug 22 11:27:22 2016 +0200
@@ -173,21 +173,21 @@
randPath
"path to a file/device that is a source or random numbers"
- |pathesOrNil|
+ |pathsOrNil|
- pathesOrNil := self randomDevicePathes.
- pathesOrNil notNil ifTrue:[
- pathesOrNil do:[:triedRandom |
+ pathsOrNil := self randomDevicePathes.
+ pathsOrNil notNil ifTrue:[
+ pathsOrNil do:[:triedRandom |
triedRandom asFilename exists ifTrue:[
^ triedRandom
]
- ].
+ ].
].
^ nil.
!
randomDevicePathes
- "pathes to look for OS sources of random numbers"
+ "paths to look for OS sources of random numbers"
RandomDevicePathes notNil ifTrue:[^ RandomDevicePathes].
OperatingSystem isUNIXlike ifTrue:[
@@ -197,7 +197,7 @@
!
randomDevicePathes:aCollectionOfpathesOrNil
- "configurable pathes to look for OS sources of random numbers.
+ "configurable paths to look for OS sources of random numbers.
(can be set during early startup in an rc-file)"
RandomDevicePathes := aCollectionOfpathesOrNil.