From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#13768: --without-posix code uses scm_getpid() in libguile-2.0.2 Date: Sun, 24 Feb 2013 20:21:54 +0100 Message-ID: <87ip5hcyb1.fsf@pobox.com> References: <51240CE7.8030802@email.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361733757 7220 80.91.229.3 (24 Feb 2013 19:22:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2013 19:22:37 +0000 (UTC) Cc: 13768-done@debbugs.gnu.org To: Jan Schukat Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Feb 24 20:22:57 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9h9v-0007Zj-TB for guile-bugs@m.gmane.org; Sun, 24 Feb 2013 20:22:52 +0100 Original-Received: from localhost ([::1]:46893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9h9b-0006MH-5y for guile-bugs@m.gmane.org; Sun, 24 Feb 2013 14:22:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9h9Y-0006MA-Kt for bug-guile@gnu.org; Sun, 24 Feb 2013 14:22:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9h9X-0001ur-CH for bug-guile@gnu.org; Sun, 24 Feb 2013 14:22:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9h9X-0001ue-7Q for bug-guile@gnu.org; Sun, 24 Feb 2013 14:22:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U9hB3-0004O1-UK for bug-guile@gnu.org; Sun, 24 Feb 2013 14:24:01 -0500 Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-guile@gnu.org Resent-Date: Sun, 24 Feb 2013 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 13768 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 13768@debbugs.gnu.org, wingo@pobox.com, shookie@email.de Original-Received: via spool by 13768-done@debbugs.gnu.org id=D13768.136173382116832 (code D ref 13768); Sun, 24 Feb 2013 19:24:01 +0000 Original-Received: (at 13768-done) by debbugs.gnu.org; 24 Feb 2013 19:23:41 +0000 Original-Received: from localhost ([127.0.0.1]:47920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9hAi-0004NR-Bm for submit@debbugs.gnu.org; Sun, 24 Feb 2013 14:23:40 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:50747 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9hAg-0004NI-VO for 13768-done@debbugs.gnu.org; Sun, 24 Feb 2013 14:23:39 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id B0370B141; Sun, 24 Feb 2013 14:22:03 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=232a/bveuWAG7EVVcRE4L13LHvo=; b=uDlZxQ 7smhBefa8tkg4u5ckg8XZz24xYPiFooCpDnz0egTa+BPmeB13UAo8VIrisrghgX/ La/ralvpwvmftmYT6d/I8Qj8LM/ECFSfYrdytUwBdx+Sai1kBQBZ5JZ3SMa4/pPM Dj++VpRahadUwgUUBgu5x2pwRMI7XSo44500U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=AkuBfOFJExMUQTsNLhZJl+ZN9ByswR4R 3Ia5PlvpHO5Mt+HjlNPQeuqAOAjZ+qmIWOLrsGWHl8qPl6tgW0mvqOqyTGPE4m4+ o8nAG217c6vCNRps6fRLepxkndtxxP6ir3w9F5722piximi/cqlOccuHXbFeTGt7 yUMlf55bGIM= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A34DDB140; Sun, 24 Feb 2013 14:22:03 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 2A776B13F; Sun, 24 Feb 2013 14:22:02 -0500 (EST) In-Reply-To: <51240CE7.8030802@email.de> (Jan Schukat's message of "Wed, 20 Feb 2013 00:38:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 781124B0-7EB7-11E2-B548-1C2F0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6777 Archived-At: On Wed 20 Feb 2013 00:38, Jan Schukat writes: > What happens is, in random.c in random_state_of_last_resort on line 668 > scm_getpid is used to seed the random generator. So either a > preprocessor switch or a hand constructed scm like in scm_getpid > (scm_from_ulong(getpid())) should be used there. Fixed, thanks for the report. Andy -- http://wingolog.org/