emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Problem on 64bit systems.]


From: Chong Yidong
Subject: Re: address@hidden: Problem on 64bit systems.]
Date: Sun, 29 Oct 2006 16:54:56 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

Richard Stallman <address@hidden> writes:

> Would someone please install this, then ack?

I installed it.  (I assumed you already checked it for correctness.)

Thanks.

> From: Mark Davies <address@hidden>
> Subject: Problem on 64bit systems.
> To: address@hidden
>
> I thing I reported this back when I found it but in case I didn't:
>
> emacs would quickly complain about running out of memory and core dump on 
> amd64 systems on NetBSD.  Problem was tracked down to a bug in ralloc.c that 
> caused a negative number intended to be an argument to sbrk() to reduce the 
> break to be treated as a large positive one (because of wrong sized object 
> being passed on the stack).
>
> Below patch fixes:
>
> - --- src/ralloc.c.orig       2001-02-20 01:19:40.000000000 +1300
> +++ src/ralloc.c
> @@ -328,7 +328,7 @@ static void
>  relinquish ()
>  {
>    register heap_ptr h;
> - -  int excess = 0;
> +  long excess = 0;
>  
>    /* Add the amount of space beyond break_value
>       in all heaps which have extend beyond break_value at all.  */
>
> cheers
> mark
>
>
> _______________________________________________
> bug-gnu-emacs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
> ----------
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-devel




reply via email to

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