From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?UTF-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.bugs Subject: bug#16599: src/temacs --daemon fails Date: Mon, 17 Feb 2014 07:40:35 +0000 Message-ID: <877g8unq4s.fsf__39545.5707599924$1392622887$gmane$org@bennee.com> References: <87bnyt5zmi.fsf@linaro.org> <83k3dh7837.fsf@gnu.org> <878utaoi66.fsf__22889.092230662$1392587661$gmane$org@bennee.com> <871tz2iuuu.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1392622874 10312 80.91.229.3 (17 Feb 2014 07:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2014 07:41:14 +0000 (UTC) Cc: 16599@debbugs.gnu.org, Alex =?UTF-8?Q?Benn=C3=A9e?= , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 17 08:41:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WFIpK-0004Dy-Hl for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2014 08:41:18 +0100 Original-Received: from localhost ([::1]:38334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFIpK-00089h-5v for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2014 02:41:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFIpA-00082F-09 for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 02:41:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFIp5-0003WO-L1 for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 02:41:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFIp5-0003WJ-Ip for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 02:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFIp4-0000az-Iw for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 02:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alex =?UTF-8?Q?Benn=C3=A9e?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Feb 2014 07:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16599 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16599-submit@debbugs.gnu.org id=B16599.13926228572271 (code B ref 16599); Mon, 17 Feb 2014 07:41:02 +0000 Original-Received: (at 16599) by debbugs.gnu.org; 17 Feb 2014 07:40:57 +0000 Original-Received: from localhost ([127.0.0.1]:55693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFIoy-0000aY-88 for submit@debbugs.gnu.org; Mon, 17 Feb 2014 02:40:56 -0500 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:55861 helo=socrates.bennee.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFIos-0000a5-Jx for 16599@debbugs.gnu.org; Mon, 17 Feb 2014 02:40:51 -0500 Original-Received: from localhost ([127.0.0.1]) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1WFIs0-0006YG-2C; Mon, 17 Feb 2014 08:44:04 +0100 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50 In-reply-to: <871tz2iuuu.fsf@igel.home> X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85716 Archived-At: Andreas Schwab writes: > Alex Bennée writes: > >> diff --git a/src/emacs.c b/src/emacs.c >> index 18f6a08..66f47ef 100644 >> --- a/src/emacs.c >> +++ b/src/emacs.c >> @@ -201,7 +201,7 @@ static char *daemon_name; >> >> /* Pipe used to send exit notification to the daemon parent at >> startup. */ >> -int daemon_pipe[2]; >> +int daemon_pipe[2] = {0, 0}; > > This is redundant. Indeed. I wasn't sure if the code I replaced relied on some special difference between .data and .bss sections. I have to admit I'm unfamiliar with how the Emacs dumping mechanism works. Why did the syms_of_emacs() function feel the need to initialise daemon_pipe? > > Andreas. -- Alex Bennée