(in-package "SB!KERNEL")
-(file-comment
- "$Header$")
-
;;; the size of the chunks returned by RANDOM-CHUNK
(defconstant random-chunk-length 32)
(defconstant random-fixnum-max
(1- (ash 1 (- random-chunk-length random-integer-extra-bits))))
-(sb!xc:defstruct (random-state (:constructor %make-random-state))
+(sb!xc:defstruct (random-state (:constructor %make-random-state)
+ (:copier nil)) ; since shallow copy is wrong
(state (init-random-state) :type (simple-array (unsigned-byte 32) (627))))