unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Choi <akochoi@shaw.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Mac OS X: Rebuild Require after Security Update 2002-11-21
Date: Sun, 24 Nov 2002 14:58:06 -0700	[thread overview]
Message-ID: <m2n0ny7hqp.fsf@owlbear.local> (raw)
In-Reply-To: <97823BA8-FFEC-11D6-AD9F-00039390AB82@mac.com>

Steven Tamm <steventamm@mac.com> writes:

> [...]  So here is my proposed change.
> 
> *** unexmacosx.c.old	Sun Nov 24 12:24:03 2002
> --- unexmacosx.c	Sun Nov 24 12:35:41 2002
> ***************
> *** 888,894 ****
>    	/* 2002-04-15 T. Ikegami <ikegami@adam.uprr.pr>.  The original
>    	   code to get size failed to reallocate read_buffer
>    	   (lread.c).  */
> ! 	int old_size = emacs_zone->size (emacs_zone, old_ptr);
>    	int size = new_size > old_size ? old_size : new_size;
> 
>    	if (size)
> --- 888,894 ----
>    	/* 2002-04-15 T. Ikegami <ikegami@adam.uprr.pr>.  The original
>    	   code to get size failed to reallocate read_buffer
>    	   (lread.c).  */
> ! 	int old_size = malloc_default_zone()->size (emacs_zone, old_ptr);
>    	int size = new_size > old_size ? old_size : new_size;
> 
>    	if (size)

Hi Steven,

Hey, that's some great debugging!!  With your change above, I was able
to verify that an executable dumped on 10.2.2 before the security update
can be run on one after the update was applied.  Please install the
change when you can.

Somewhat related, while working in unexmacosx.c, I notice the function
build_region_list.  This function is left over from earlier versions of
the file and is unnecessary since dumping is now based on the emacs_zone
regions.  I'll remove it at some point.

Andrew.

  reply	other threads:[~2002-11-24 21:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2bs4g9srx.fsf@owlbear.local>
2002-11-23 23:49 ` Mac OS X: Rebuild Require after Security Update 2002-11-21 Jason Rumney
2002-11-24 19:58   ` Andrew Choi
2002-11-24 21:03     ` Jason Rumney
2002-11-25 23:56       ` Steven Tamm
2002-11-26  0:18         ` Jason Rumney
2002-11-26  1:19         ` Andrew Choi
2002-11-26 14:53           ` Stefan Monnier
2002-11-26 16:31             ` Steven Tamm
2002-11-26 17:29               ` Andrew Choi
2002-11-26 17:45                 ` fork v vfork (was Re: Mac OS X: Rebuild Require after Security Update 2002-11-21) Steven Tamm
2002-11-24 20:37 ` Mac OS X: Rebuild Require after Security Update 2002-11-21 Steven Tamm
2002-11-24 21:58   ` Andrew Choi [this message]
2002-11-24 23:06     ` Steven Tamm
2002-11-25  7:40 ` Thorbjørn Ravn Andersen
2002-11-25  8:10   ` Andrew Choi
2002-11-26 11:15   ` Richard Stallman

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=m2n0ny7hqp.fsf@owlbear.local \
    --to=akochoi@shaw.ca \
    --cc=emacs-devel@gnu.org \
    /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).