[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning starting Emacs (Cygwin)

From: Chong Yidong
Subject: Re: Warning starting Emacs (Cygwin)
Date: Sat, 02 Aug 2008 15:14:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Dan Nicolaescu <address@hidden> 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):


>  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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]