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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#27617: closed (26.0.50; cl--random-state initialized to
 old-style vector)
Date: Fri, 14 Jul 2017 09:51:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 14 Jul 2017 02:50:40 -0700
with message-id <428a890c-b47b-1321-18de-9c7387468284 <at> cs.ucla.edu>
and subject line Re: 26.0.50; cl--random-state initialized to old-style vector
has caused the debbugs.gnu.org bug report #27617,
regarding 26.0.50; cl--random-state initialized to old-style vector
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
27617: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27617
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Wellons <wellons <at> nullprogram.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 ...]


[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Christopher Wellons <wellons <at> nullprogram.com>
Cc: 27617-done <at> debbugs.gnu.org
Subject: Re: 26.0.50; cl--random-state initialized to old-style vector
Date: Fri, 14 Jul 2017 02:50:40 -0700
[Message part 4 (text/plain, inline)]
Thanks for reporting that. I installed the attached, which differs from what you 
suggested but should also work.
[0001-Remove-duplicate-cl-random-state-definition.patch (text/x-patch, attachment)]

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

Previous Next


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