unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: Mark Davies <mark@mcs.vuw.ac.nz>, emacs-devel@gnu.org
Subject: Re: [mark@mcs.vuw.ac.nz: Problem on 64bit systems.]
Date: Sun, 29 Oct 2006 16:54:56 -0500	[thread overview]
Message-ID: <87d58ass7j.fsf@furball.mit.edu> (raw)
In-Reply-To: <E1GeFfZ-0007gP-6a@fencepost.gnu.org> (Richard Stallman's message of "Sun\, 29 Oct 2006 13\:46\:05 -0500")

Richard Stallman <rms@gnu.org> writes:

> Would someone please install this, then ack?

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

Thanks.

> From: Mark Davies <mark@mcs.vuw.ac.nz>
> Subject: Problem on 64bit systems.
> To: bug-gnu-emacs@gnu.org
>
> 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
> bug-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
> ----------
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

      reply	other threads:[~2006-10-29 21:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-29 18:46 [mark@mcs.vuw.ac.nz: Problem on 64bit systems.] Richard Stallman
2006-10-29 21:54 ` Chong Yidong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d58ass7j.fsf@furball.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=mark@mcs.vuw.ac.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).