From: Christopher Wellons <wellons@nullprogram.com>
To: 27617@debbugs.gnu.org
Subject: bug#27617: 26.0.50; cl--random-state initialized to old-style vector
Date: Sat, 8 Jul 2017 09:39:18 -0400 [thread overview]
Message-ID: <20170708133918.GD17540@nullprogram.com> (raw)
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 ...]
next reply other threads:[~2017-07-08 13:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-08 13:39 Christopher Wellons [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170708133918.GD17540@nullprogram.com \
--to=wellons@nullprogram.com \
--cc=27617@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).