projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.1.26:
[sbcl.git]
/
src
/
code
/
random.lisp
diff --git
a/src/code/random.lisp
b/src/code/random.lisp
index
863b5cc
..
d0d672d
100644
(file)
--- a/
src/code/random.lisp
+++ b/
src/code/random.lisp
@@
-24,5
+24,6
@@
(defconstant random-fixnum-max
(1- (ash 1 (- random-chunk-length random-integer-extra-bits))))
(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))))
(state (init-random-state) :type (simple-array (unsigned-byte 32) (627))))