emacs-devel
[Top][All Lists]
Advanced

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

Re: Mac OS X: Rebuild Require after Security Update 2002-11-21


From: Andrew Choi
Subject: Re: Mac OS X: Rebuild Require after Security Update 2002-11-21
Date: Sun, 24 Nov 2002 14:58:06 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Steven Tamm <address@hidden> 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 <address@hidden>.  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 <address@hidden>.  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 via email to

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