0.pre7.6:
[sbcl.git] / src / code / random.lisp
index 0ca96f1..d0d672d 100644 (file)
@@ -9,9 +9,6 @@
 
 (in-package "SB!KERNEL")
 
-(file-comment
-  "$Header$")
-
 ;;; the size of the chunks returned by RANDOM-CHUNK
 (defconstant random-chunk-length 32)
 
@@ -27,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))))