[Top][All Lists]

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

address@hidden: Problem on 64bit systems.]

From: Richard Stallman
Subject: address@hidden: Problem on 64bit systems.]
Date: Sun, 29 Oct 2006 13:46:05 -0500

Would someone please install this, then ack?

------- Start of forwarded message -------
From: Mark Davies <address@hidden>
To: address@hidden
Date: Sat, 28 Oct 2006 08:44:53 +1300
MIME-Version: 1.0
Content-Type: text/plain;
Content-Disposition: inline
Subject: Problem on 64bit systems.
X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO 
        autolearn=failed version=3.0.4

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.  */


bug-gnu-emacs mailing list
------- End of forwarded message -------

reply via email to

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