SRFI-27 (make-random-source 'fast) broken
Brought to you by:
mradestock,
scgmille
The SRFI-27 function make-random-source returns an incorrect value when asked to return a non-secure random source.
To reproduce:
(require-library 'sisc/libs/srfi/srfi-27) ; sources of random bits
(import srfi-27)
(random-source? (make-random-source 'fast))
=> #f
Logged In: YES
user_id=544263
Originator: YES
Fixed. A typo in make-fast-prng caused the function to return a passed integer instead of a java.util.Random based on that integer.