unofficial mirror of bug-gnu-emacs@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).