From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.bugs Subject: bug#1058: 23.0.60; emacs --daemon should not return until socket is ready Date: Thu, 02 Oct 2008 08:05:43 +0200 Organization: orebokech dot com Message-ID: <878wt7edl4.fsf@elegiac.orebokech.com> References: <1222782234_2281@mail.internode.on.net> <200810011651.m91GpAZQ010333@mothra.ics.uci.edu> <87k5csds03.fsf@elegiac.orebokech.com> Reply-To: Romain Francoise , 1058@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222929021 14502 80.91.229.12 (2 Oct 2008 06:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 06:30:21 +0000 (UTC) Cc: trentbuck@gmail.com, 1058@emacsbugs.donarmstrong.com, Dan Nicolaescu To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 08:31:18 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KlHiQ-0006gs-Co for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 08:31:10 +0200 Original-Received: from localhost ([127.0.0.1]:39367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlHhM-0005JS-KW for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 02:30:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlHhI-0005In-IH for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 02:30:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlHhH-0005IP-4K for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 02:30:00 -0400 Original-Received: from [199.232.76.173] (port=55033 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlHhG-0005I8-RP for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 02:29:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40118) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlHhG-000065-Cz for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 02:29:58 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m926TuhP011464; Wed, 1 Oct 2008 23:29:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m926F38u008067; Wed, 1 Oct 2008 23:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Romain Francoise Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Oct 2008 06:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1058 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1058-submit@emacsbugs.donarmstrong.com id=B1058.12229275486728 (code B ref 1058); Thu, 02 Oct 2008 06:15:03 +0000 Original-Received: (at 1058) by emacsbugs.donarmstrong.com; 2 Oct 2008 06:05:48 +0000 Original-Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9265j53006722 for <1058@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 23:05:46 -0700 Original-Received: from smtp6-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp6-g19.free.fr (Postfix) with ESMTP id 4878E197B5; Thu, 2 Oct 2008 08:05:44 +0200 (CEST) Original-Received: from elegiac.orebokech.com (home.orebokech.com [82.67.41.165]) by smtp6-g19.free.fr (Postfix) with ESMTP id 256551970C; Thu, 2 Oct 2008 08:05:44 +0200 (CEST) Original-Received: by elegiac.orebokech.com (Postfix, from userid 1000) id D0A3D3B1DF; Thu, 2 Oct 2008 08:05:43 +0200 (CEST) X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (Andreas Schwab's message of "Wed, 01 Oct 2008 22:19:05 +0200") X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 02 Oct 2008 02:30:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20981 Archived-At: Andreas Schwab writes: > sleep takes an integer, not a float. Hrm, yeah. And the detach function should be guarded otherwise it would close random fds on each call, which is probably not what we want. And the while-sleep loop should be done differently. But anyway, this was just a quick proof of concept, it happened to compile and work on the first try, so...