From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' Date: Mon, 25 Apr 2022 19:07:47 +0100 Message-ID: References: <87mtg967l6.fsf@yahoo.com> <8735i15ubu.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27521"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , Keith David Bershatsky , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 25 20:08:40 2022 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 1nj38a-0006yj-Aw for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Apr 2022 20:08:40 +0200 Original-Received: from localhost ([::1]:49216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj38Y-00005k-Rb for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Apr 2022 14:08:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj37v-0007sN-Or for emacs-devel@gnu.org; Mon, 25 Apr 2022 14:07:59 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:35255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj37s-0007Hc-7A for emacs-devel@gnu.org; Mon, 25 Apr 2022 14:07:59 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 499A98B4; Mon, 25 Apr 2022 18:07:51 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1650910070; bh=t3TvqZhqXr66UTAPmJnA4bzi53NMf/XE70EtssytTcs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S+cxPSIf3HgWbkIhN9yQjbTkgwj5eL1wxIGgl0eO4W9Ge7ughtNJiZXOiybjXAQdP GJu9H96Vs5cQbrz6VC8GA+pZS64hFL2n3y9eL2/GojVDbEX9duUWLw2rT+dDCTbFwr MhVEaZd+6gbIqpg7sQNb4CUWS5M2qJR9bE3Ri3fsTv40heRIwVkq4/qo5n5HSK7doq xt4MBuYiHsOKJd839X41iaOIrNVnsN7hj+MlgaCu8iN/si2diRlB0BW9ieQ6W13Kmb xvH5sN/+QJf39aDT2ni3w+hxipXmUJDvag0scy/nwazTf5YFoYdJ2yzM1U834vmcob qnH5e6Db5gbkw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95) (envelope-from ) id 1nj37k-000o8V-6o; Mon, 25 Apr 2022 19:07:48 +0100 Mail-Followup-To: Alan Third , Po Lu , Keith David Bershatsky , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <8735i15ubu.fsf@yahoo.com> Received-SPF: pass client-ip=116.202.126.228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-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" Xref: news.gmane.io gmane.emacs.devel:288871 Archived-At: On Mon, Apr 25, 2022 at 06:30:13PM +0800, Po Lu wrote: > Alan Third writes: > > > Hi, is there any reason the creation of the autorelease pool in > > emacs.c's main function couldn't just be moved to before dumping > > occurs? > > It's created before `ns_init_locale' is called, since that needs an > autorelease pool to be present. I know that. I'm asking if there's a reason we can't move it to the top of the function since we now have other functions that need an autorelease pool to be present? -- Alan Third