From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18238: Fix for DOS build when using more accurate config[.h].in Date: Sat, 23 Oct 2021 09:18:54 +0300 Message-ID: <831r4c6z75.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10020"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 18238@debbugs.gnu.org, rrt@sc3d.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 23 08:20:41 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1meAOW-0002QK-L0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 08:20:40 +0200 Original-Received: from localhost ([::1]:37984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meAOV-0001bu-9C for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 02:20:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meANu-0001bf-Rj for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 02:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meANu-0006rq-IY for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 02:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meANu-0006zB-1a for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 02:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Oct 2021 06:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18238 X-GNU-PR-Package: emacs Original-Received: via spool by 18238-submit@debbugs.gnu.org id=B18238.163496996026800 (code B ref 18238); Sat, 23 Oct 2021 06:20:02 +0000 Original-Received: (at 18238) by debbugs.gnu.org; 23 Oct 2021 06:19:20 +0000 Original-Received: from localhost ([127.0.0.1]:34210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meANE-0006y7-AH for submit@debbugs.gnu.org; Sat, 23 Oct 2021 02:19:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meAN9-0006xj-86; Sat, 23 Oct 2021 02:19:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52272) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meAN3-0006TT-FH; Sat, 23 Oct 2021 02:19:09 -0400 Original-Received: from [87.69.77.57] (port=1555 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meAN3-0002B9-2P; Sat, 23 Oct 2021 02:19:09 -0400 In-Reply-To: (message from Stefan Kangas on Fri, 22 Oct 2021 15:02:17 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217944 Archived-At: tags 18238 wontfix close 18238 thanks > From: Stefan Kangas > Date: Fri, 22 Oct 2021 15:02:17 -0400 > Cc: 18238@debbugs.gnu.org > > Reuben Thomas writes: > > > DJGPP does actually have getrlimit. The special config[.h].in for MSDOS lies and says it hasn't. However, this is a white lie, because > > getrlimit on DJGPP doesn't support RLIMIT_AS/RLIMIT_DATA, which is what we want, so we still want the workaround code. The following > > patch simply reverses the order of a couple of tests in vm-limit.c so that being on MSDOS overrides HAVE_GETRLIMIT. > > > > Is it OK to install? > > (That was in 2014.) > > It seems like this patch was never installed. Is it still relevant? It's as relevant as it was back then, but I see no reason to make a change with no actual functionality changes, just so the world knows that DJGPP does have (a limited version of) getrlimit. So I'm closing this bug (after fixing the typo pointed by Andreas). Thanks.