fix random on openbsd

db4
erg 2008-04-03 00:59:20 -05:00
parent 7bec01f9f7
commit 0cf667859a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ C: <unix-random> unix-random
M: unix-random random-bytes* ( n tuple -- byte-array )
path>> file-read-unbuffered ;
os "openbsd" = [
os openbsd? [
[
"/dev/srandom" <unix-random> secure-random-generator set-global
"/dev/prandom" <unix-random> insecure-random-generator set-global