all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27617: 26.0.50; cl--random-state initialized to old-style vector
@ 2017-07-08 13:39 Christopher Wellons
  2017-07-10 18:56 ` bug#27617: [PATCH] Fix cl--random-state initialization Christopher Wellons
  2017-07-14  9:50 ` bug#27617: 26.0.50; cl--random-state initialized to old-style vector Paul Eggert
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Wellons @ 2017-07-08 13:39 UTC (permalink / raw)
  To: 27617

The global variable cl--random-state is still being initialized to the 
old defstruct vector format. See lisp/emacs-lisp/cl-lib.el:296. This 
breaks all random number functions when the STATE argument isn't 
supplied:

    $ emacs -Q --batch -l cl-lib --eval '(cl-random 10)'
    Wrong type argument: cl--random-state, [cl--random-state-tag -1 30 ...]





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-14  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-08 13:39 bug#27617: 26.0.50; cl--random-state initialized to old-style vector Christopher Wellons
2017-07-10 18:56 ` bug#27617: [PATCH] Fix cl--random-state initialization Christopher Wellons
2017-07-14  9:50 ` bug#27617: 26.0.50; cl--random-state initialized to old-style vector Paul Eggert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.