Subject: Re: bug#17622: 24.4.50; bootstrap failure

From: Eli Zaretskii <[email-masked]>
Date: Thu, 29 May 2014 18:12:40 +0300

> From: Fabrice Popineau <[email-masked]>
> Date: Thu, 29 May 2014 16:24:12 +0200
> Cc: Katsumi Yamaoka <[email-masked]>, 17622 <[email-masked]>, Eli Zaretskii <[email-masked]>
> 
> @@ -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)

That's what I did, except that this (and the FOR_EACH_BUFFER loop
after it) should only be done in the dumped emacs.