> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Thu, 29 May 2014 16:24:12 +0200
> Cc: Katsumi Yamaoka <yamaoka@jpl.org>, 17622 <17622@debbugs.gnu.org>, Eli Zaretskii <eliz@gnu.org>
>That's what I did, except that this (and the FOR_EACH_BUFFER loop
> @@ -5282,6 +5277,10 @@
> {
> struct buffer *b;
>
> +#ifndef WINDOWSNT
> + mmap_regions = NULL;
> + mmap_fd = -1;
> +#endif
> /* We cannot dump buffers with meaningful addresses that can be
> used by the dumped Emacs. We map new memory for them here. */
> FOR_EACH_BUFFER (b)
after it) should only be done in the dumped emacs.