From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: EXIT_SUCCESS and EXIT_FAILURE in scheme land Date: Mon, 22 Sep 2014 22:53:29 +0200 Message-ID: <877g0vl6ly.fsf@gnu.org> References: <87a96c67xs.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 1411419237 8091 80.91.229.3 (22 Sep 2014 20:53:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2014 20:53:57 +0000 (UTC) Cc: guile-devel@gnu.org To: Frank Terbeck Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Sep 22 22:53:50 2014 Return-path: Envelope-to: guile-devel@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 1XWAcI-0006Qk-At for guile-devel@m.gmane.org; Mon, 22 Sep 2014 22:53:50 +0200 Original-Received: from localhost ([::1]:49193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWAcI-0003nr-0X for guile-devel@m.gmane.org; Mon, 22 Sep 2014 16:53:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWAc9-0003gS-NS for guile-devel@gnu.org; Mon, 22 Sep 2014 16:53:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWAc3-000495-Kr for guile-devel@gnu.org; Mon, 22 Sep 2014 16:53:41 -0400 Original-Received: from hera.aquilenet.fr ([2a01:474::1]:53618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWAc3-00048W-E3 for guile-devel@gnu.org; Mon, 22 Sep 2014 16:53:35 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 135273AE8; Mon, 22 Sep 2014 22:53:29 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cBGFOhrzGChH; Mon, 22 Sep 2014 22:53:28 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B0CBF3509; Mon, 22 Sep 2014 22:53:28 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?utf-8?Q?Vend=C3=A9miaire?= an 223 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87a96c67xs.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Sat, 06 Sep 2014 18:16:15 +0200") User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:474::1 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17518 Archived-At: Frank Terbeck skribis: > I personally don't know any OS that doesn't use EXIT_SUCCESS :=3D 1, but > nevertheless I think it's useful to have EXIT_SUCCESS and _FAILURE > available in scheme land. They are from stdlib.h, so I suppose adding > them to =E2=80=98libguile/posix.c=E2=80=99 makes sense. The patch below s= eems to do the > trick for me. > > Would something like this be welcome? Yes (esp. since the GNU Coding Standards suggest using them.) Pushed as 447af51. Thanks, Ludo=E2=80=99.