From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 3.0.9rc1 available for testing! Date: Mon, 23 Jan 2023 11:48:11 +0100 Message-ID: <87h6wh34t0.fsf@gnu.org> References: <87v8l15hb2.fsf@inria.fr> <562CD6BE-42D3-4D4C-AB4C-2B4A5341F525@sarc.name> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29106"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: lloda , "guile-devel@gnu.org" , 60971@debbugs.gnu.org To: Greg Troxel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Jan 23 11:48:34 2023 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pJuNN-0007MD-Q6 for guile-devel@m.gmane-mx.org; Mon, 23 Jan 2023 11:48:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJuN5-0005gz-S0; Mon, 23 Jan 2023 05:48:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJuN4-0005gd-M0 for guile-devel@gnu.org; Mon, 23 Jan 2023 05:48:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJuN4-0004hI-Ca; Mon, 23 Jan 2023 05:48:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=9+vhtfHikyJCy7N210cLTBc7oC4aGj+jM+WgScAb2fs=; b=EBWZdJLhfuaAA7i/TEVc uepQjEA5YKvx0MRxdKy9Wc6wqmQqIGy5SS30b16QkxO3jvxlG+/gzGjabD7Y4PlWQJtYgoZ+pSgx1 +NRV9guJXSQnaOWFM1f1Z92hjYkxgeyS5oAb9Svfe6TkPLzCuWY9bjTxUZSMvtbyaLoqK2j6mW6UF BI0pzIUKFQiwT4x8J6qWMnNuFEOZMFWNtTTCegUwUJihKoBI7RZ+CoVugWXLeJ/3s3DGGzk/m4njt 3SnQbnPrVwG9ilL/RC8e1/Eel1sG13sZC/4vLQhS3tZZEhJ7FVgOY1gDjDmkaBSs5M7ZRKImFjHjx MT9atCuAplK0wQ==; Original-Received: from [193.50.110.246] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJuN3-0002Ew-Dc; Mon, 23 Jan 2023 05:48:14 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 4 =?utf-8?Q?Pluvi=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Perce-neige X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: (Greg Troxel's message of "Sun, 22 Jan 2023 09:39:17 -0500") X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:21611 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Greg Troxel skribis: > lloda writes: > >> This looks like https://debbugs.gnu.org/60971 on mac os. > > Yes, it does. > > My quick reaction is that if the POSIX-required macros operation on > system types that might be struct, then faking up ints for testing is > unsound. > > Maybe only do verify if guile has to define macros, and don't try to > test the OS? So something like the patch below? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/libguile/posix.c b/libguile/posix.c index 74c743119..0b1fe2637 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -105,8 +105,8 @@ # else # define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) # endif -#endif verify (WEXITSTATUS (W_EXITCODE (127, 0)) == 127); +#endif #include --=-=-=--