From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christopher Wellons Newsgroups: gmane.emacs.bugs Subject: bug#27617: [PATCH] Fix cl--random-state initialization. Date: Mon, 10 Jul 2017 14:56:46 -0400 Message-ID: <20170710185646.GH17540@nullprogram.com> References: <20170708133918.GD17540@nullprogram.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1499713079 26215 195.159.176.226 (10 Jul 2017 18:57:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2017 18:57:59 +0000 (UTC) User-Agent: Mutt/1.5.23 (2014-03-12) To: 27617@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 10 20:57:56 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUdsX-0006aj-0V for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jul 2017 20:57:53 +0200 Original-Received: from localhost ([::1]:42547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUdsc-0002A3-IW for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jul 2017 14:57:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUdrl-0001mG-Tq for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 14:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUdri-0005c3-T7 for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 14:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUdri-0005by-PZ for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 14:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUdri-0001GT-Bx for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 14:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Wellons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jul 2017 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27617 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27617-submit@debbugs.gnu.org id=B27617.14997130164846 (code B ref 27617); Mon, 10 Jul 2017 18:57:02 +0000 Original-Received: (at 27617) by debbugs.gnu.org; 10 Jul 2017 18:56:56 +0000 Original-Received: from localhost ([127.0.0.1]:32975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUdrb-0001G6-NY for submit@debbugs.gnu.org; Mon, 10 Jul 2017 14:56:55 -0400 Original-Received: from mail.nullprogram.com ([192.241.191.137]:58131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUdrZ-0001Fy-Om for 27617@debbugs.gnu.org; Mon, 10 Jul 2017 14:56:54 -0400 Original-Received: from nullprogram.com (localhost [127.0.0.1]) by mail.nullprogram.com (Postfix) with ESMTPS id 2FF6CC3CAA for <27617@debbugs.gnu.org>; Mon, 10 Jul 2017 14:56:47 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20170708133918.GD17540@nullprogram.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134406 Archived-At: Here's a trivial patch that fixes this bug. --- lisp/emacs-lisp/cl-lib.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el index 936c852526c..ea47a0562ee 100644 --- a/lisp/emacs-lisp/cl-lib.el +++ b/lisp/emacs-lisp/cl-lib.el @@ -294,7 +294,7 @@ cl--random-time v)) (defvar cl--random-state - (vector 'cl--random-state-tag -1 30 (cl--random-time))) + (record 'cl--random-state -1 30 (cl--random-time))) (defconst cl-most-positive-float nil "The largest value that a Lisp float can hold. -- 2.11.0