Subject: Re: bug#16599: src/temacs --daemon fails

From: Eli Zaretskii <[email-masked]>
Date: Mon, 17 Feb 2014 18:15:58 +0200

> From: Andreas Schwab <[email-masked]>
> Cc: Alex Bennée <[email-masked]>,
>   [email-masked]
> Date: Mon, 17 Feb 2014 17:03:01 +0100
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> From: Alex Bennée <[email-masked]>
> >> Cc: Alex Bennée <[email-masked]>, Eli Zaretskii
> >>  <[email-masked]>, [email-masked], [email-masked]
> >> Date: Mon, 17 Feb 2014 07:40:35 +0000
> >> 
> >> Why did the syms_of_emacs() function feel the need to initialise daemon_pipe?
> >
> > Because in a dumped Emacs, daemon_pipe might hold a stale value from
> > before the dumping.
> 
> But syms_of_emacs is not called in a dumped Emacs.

So I guess we should move that line somewhere where it will be called.