From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Warning starting Emacs (Cygwin) Date: Sat, 02 Aug 2008 15:14:42 -0400 Message-ID: <87wsiz1b6l.fsf@stupidchicken.com> References: <4891D01B.6070802@alice.it> <4891E7E8.1000503@alice.it> <200807311700.m6VH0eCa004994@sallyv1.ics.uci.edu> <4892E7BE.1080706@alice.it> <489306EE.7090800@alice.it> <200808011308.m71D8PA3023871@sallyv1.ics.uci.edu> <489319F7.5040101@alice.it> <200808011436.m71EaAeZ019293@sallyv1.ics.uci.edu> <4893765E.5020803@alice.it> <200808020406.m7246D1T003058@sallyv1.ics.uci.edu> <48946F36.3020505@alice.it> <200808021859.m72IxGnr000877@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217704523 32262 80.91.229.12 (2 Aug 2008 19:15:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2008 19:15:23 +0000 (UTC) Cc: emacs-devel@gnu.org, Angelo Graziosi To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 02 21:16:12 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KPMZl-00079E-KT for ged-emacs-devel@m.gmane.org; Sat, 02 Aug 2008 21:15:37 +0200 Original-Received: from localhost ([127.0.0.1]:51271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPMYq-00072F-ON for ged-emacs-devel@m.gmane.org; Sat, 02 Aug 2008 15:14:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPMYk-0006xy-NV for emacs-devel@gnu.org; Sat, 02 Aug 2008 15:14:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPMYi-0006uz-Ts for emacs-devel@gnu.org; Sat, 02 Aug 2008 15:14:34 -0400 Original-Received: from [199.232.76.173] (port=44676 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPMYi-0006ue-Om for emacs-devel@gnu.org; Sat, 02 Aug 2008 15:14:32 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:50769 helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KPMYi-0008HV-D5 for emacs-devel@gnu.org; Sat, 02 Aug 2008 15:14:32 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 248E857E337; Sat, 2 Aug 2008 15:14:42 -0400 (EDT) In-Reply-To: <200808021859.m72IxGnr000877@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 02 Aug 2008 11:59:15 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101968 Archived-At: Dan Nicolaescu writes: > Unfortunately none of these ring a bell to me. Yidong I assume this > code is the reason you added the HAVE_GETRLIMIT autoconf check, can you > guess what can be wrong here? The reason I added the getrlimit check was because of the bug reported here (bug#86): http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=86 > src/vm-limit.c has #ifdef HAVE_GETRLIMIT...#else...#endif sections > (i.e. line 36 onwards and line 158 onwards) and yet the configure > script never tests for getrlimit() and hence config.h never has any > HAVE_GETRLIMIT definition. Yes, configure does test for setrlimit() > and sets HAVE_SETRLIMIT though! Apparently, due to an oversight in the configure script, the HAVE_GETRLIMIT code was always turned off, even though the code had already been written. Could it be that getrlimit is buggy on Cygwin? Maybe we could work around this by turning off HAVE_GETRLIMIT on that platform :-P