From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Ward Newsgroups: gmane.lisp.guile.bugs Subject: Guile 2.0.0 cannot open /dev/urandom Date: Thu, 17 Feb 2011 22:58:33 +0000 Message-ID: <201102172258.33666.martin@gkc.org.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297985283 23005 80.91.229.12 (17 Feb 2011 23:28:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 23:28:03 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Feb 18 00:27:58 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PqDGN-0000zY-6h for guile-bugs@m.gmane.org; Fri, 18 Feb 2011 00:27:57 +0100 Original-Received: from localhost ([127.0.0.1]:41117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqCtv-0006in-2m for guile-bugs@m.gmane.org; Thu, 17 Feb 2011 18:04:43 -0500 Original-Received: from [140.186.70.92] (port=53391 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqCo9-0003fK-6Y for bug-guile@gnu.org; Thu, 17 Feb 2011 18:00:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqCo3-0002Xt-46 for bug-guile@gnu.org; Thu, 17 Feb 2011 17:58:40 -0500 Original-Received: from node-2.minx.net.uk ([212.85.249.132]:50303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqCo2-0002XS-Vu for bug-guile@gnu.org; Thu, 17 Feb 2011 17:58:39 -0500 Original-Received: from [78.143.213.139] (helo=pingu5.localnet) by node-2.minx.net.uk with esmtp (Exim 4.60) (envelope-from ) id 1PqCnz-0001ts-G4 for bug-guile@gnu.org; Thu, 17 Feb 2011 22:58:35 +0000 User-Agent: KMail/1.12.4 (Linux/2.6.31.13-desktop-1mnb; KDE/4.3.5; x86_64; ; ) X-MINX-Orig-IP: 78.143.213.139 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.85.249.132 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5177 Archived-At: Guile 1.8.6 can open /dev/urandom (which I use for seeding a random number generator): % guile guile> (open-input-file "/dev/urandom") # guile> But guile 2.0.0 gives this error: ~/Documents/guile-2.0.0/meta/guile GNU Guile 2.0.0 Copyright (C) 1995-2011 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (open-input-file "/dev/urandom") ERROR: In procedure open-file: ERROR: In procedure fport_end_input: Invalid argument Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,bt 0 (open-file "/dev/urandom" "r") scheme@(guile-user) [1]> -- Martin STRL Reader in Software Engineering and Royal Society Industry Fellow martin@gkc.org.uk http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4 G.K.Chesterton web site: http://www.cse.dmu.ac.uk/~mward/gkc/ Mirrors: http://www.gkc.org.uk and http://www.gkc.org.uk/gkc