GNU bug report logs - #27617
26.0.50; cl--random-state initialized to old-style vector

Previous Next

Package: emacs;

Reported by: Christopher Wellons <wellons <at> nullprogram.com>

Date: Sat, 8 Jul 2017 13:40:02 UTC

Severity: normal

Found in version 26.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christopher Wellons <wellons <at> nullprogram.com>
To: 27617 <at> 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
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 ...]




This bug report was last modified 7 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.