]> git.eshelyaron.com Git - emacs.git/commit
Ensure 8-byte aligned memory allocation on MS-Windows 9X
authorJussi Lahdenniemi <jussi@aprikoodi.fi>
Sat, 16 Jan 2016 09:11:12 +0000 (11:11 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Jan 2016 09:11:12 +0000 (11:11 +0200)
commit15c23aaf8368215613b0ffd02fe3bb742935f12e
tree49ef2d902791b43feff3cecaaa5b82f4ccb3d6b5
parent39afa422ad0b3cef00292e260d424b7cd589b90d
Ensure 8-byte aligned memory allocation on MS-Windows 9X

* src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
special functions on Windows 9X.  Refuse to dump Emacs on Windows 9X.
(malloc_after_dump_9x, realloc_after_dump_9x)
(free_after_dump_9x): New functions.  (Bug#22379)  See also
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
for more details about the original problem.

* nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
(free_after_dump_9x): Add prototypes.

Copyright-paperwork-exempt: yes
nt/inc/ms-w32.h
src/w32heap.c