From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frank Terbeck Newsgroups: gmane.lisp.guile.bugs Subject: bug#18592: FFI should have portable access to =?UTF-8?Q?=E2=80=98errno=E2=80=99?= Date: Tue, 30 Sep 2014 22:17:04 +0200 Message-ID: <87fvf8oocf.fsf@ft.bewatermyfriend.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412108494 23130 80.91.229.3 (30 Sep 2014 20:21:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2014 20:21:34 +0000 (UTC) To: 18592@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Sep 30 22:21:27 2014 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 1XZ3vJ-00083W-M9 for guile-bugs@m.gmane.org; Tue, 30 Sep 2014 22:21:25 +0200 Original-Received: from localhost ([::1]:45925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ3vJ-0007GE-9J for guile-bugs@m.gmane.org; Tue, 30 Sep 2014 16:21:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ3v6-0007FB-KU for bug-guile@gnu.org; Tue, 30 Sep 2014 16:21:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZ3uw-0002ob-QX for bug-guile@gnu.org; Tue, 30 Sep 2014 16:21:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ3uw-0002oX-N5 for bug-guile@gnu.org; Tue, 30 Sep 2014 16:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZ3uw-0006Ee-1q for bug-guile@gnu.org; Tue, 30 Sep 2014 16:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Frank Terbeck Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 30 Sep 2014 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18592 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141210841123891 (code B ref -1); Tue, 30 Sep 2014 20:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Sep 2014 20:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:56691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ3u6-0006DF-17 for submit@debbugs.gnu.org; Tue, 30 Sep 2014 16:20:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42986) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ3u3-0006D6-7v for submit@debbugs.gnu.org; Tue, 30 Sep 2014 16:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZ3tt-00028K-7R for submit@debbugs.gnu.org; Tue, 30 Sep 2014 16:20:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ3tt-00028D-3u for submit@debbugs.gnu.org; Tue, 30 Sep 2014 16:19:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ3tl-0006Hi-Fj for bug-guile@gnu.org; Tue, 30 Sep 2014 16:19:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZ3te-00026M-0g for bug-guile@gnu.org; Tue, 30 Sep 2014 16:19:49 -0400 Original-Received: from smtprelay04.ispgateway.de ([80.67.31.42]:49036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ3td-00026B-QD for bug-guile@gnu.org; Tue, 30 Sep 2014 16:19:41 -0400 Original-Received: from [46.183.96.49] (helo=jim.voodoo.lan) by smtprelay04.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1XZ3tc-00038Z-4D for bug-guile@gnu.org; Tue, 30 Sep 2014 22:19:40 +0200 Original-Received: by jim.voodoo.lan (Postfix, from userid 1000) id B9D4297698; Tue, 30 Sep 2014 22:17:04 +0200 (CEST) User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.93 (gnu/linux) X-Df-Sender: NDMwNDQ0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:7596 Archived-At: Hello Guile Maintainers! When accessing POSIX functions from a system's libc via Guile's dynamic FFI, you commonly want to access the =E2=80=98errno=E2=80=99 variable to be= able to produce useful diagnostic messages. Currently there's no such access built-in. Mark Weaver on IRC thought it would be a good idea to add portable access to the contents of =E2=80=98errno=E2=80=99 (however it's actually im= plemented) to Guile's FFI. And now the idea has entered the bug tracker. :) Regards, Frank --=20 In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925