From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: Compiling in mingw-ucrt runtime Date: Fri, 23 Feb 2024 15:47:36 +0100 Message-ID: <87il2f1blj.fsf@turtle-trading.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30250"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 23 16:07:58 2024 Return-path: Envelope-to: ged-emacs-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 1rdX9a-0007dU-2I for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Feb 2024 16:07:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdX8L-0002SK-Dh; Fri, 23 Feb 2024 10:06:41 -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 1rdWs4-0007tl-Ux for emacs-devel@gnu.org; Fri, 23 Feb 2024 09:49:52 -0500 Original-Received: from mail.turtle-trading.net ([18.197.215.73]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdWs3-00050z-4J for emacs-devel@gnu.org; Fri, 23 Feb 2024 09:49:52 -0500 Original-Received: from [185.117.215.13] (helo=arrian) by mail.turtle-trading.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rdWpt-000v1o-Am; Fri, 23 Feb 2024 15:47:37 +0100 In-Reply-To: (Arthur Miller's message of "Thu, 22 Feb 2024 01:01:17 +0100") Received-SPF: none client-ip=18.197.215.73; envelope-from=b.riefenstahl@turtle-trading.net; helo=mail.turtle-trading.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316468 Archived-At: Hi Arthur, Arthur Miller writes: > Just checking if errno was set reduced almost everything; and I found > that comment in posix_close aboutt EINTR. Is this specific to UCRT? In usual errno usage, errno is not garanteed to be 0, because runtime functions do not reset it in case of success. If there are no other errors, it often is set to ENOENT, from the time when some file was searched along some PATH variable. Regards, benny