Subject: bug#1058: 23.0.60; emacs --daemon should not return until socket is ready

From: Romain Francoise <[email-masked]>
Date: Thu, 02 Oct 2008 08:05:43 +0200

Andreas Schwab <[email-masked]> 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...