0.pre7.28:
[sbcl.git] / src / code / random.lisp
index 863b5cc..d0d672d 100644 (file)
@@ -24,5 +24,6 @@
 (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))))