emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient horribly broken


From: Juanma Barranquero
Subject: Re: emacsclient horribly broken
Date: Thu, 2 Nov 2006 10:42:35 +0100

On 11/2/06, Jan Djärv <address@hidden> wrote:

  In fact, it is the wrong thing to do because:
       /* Now, wait for an answer and print any messages.  */
       while ((rl = recv (s, string, BUFSIZ, 0)) > 0)

will do the wrong thing both for FIONBIO and O_NONBLOCK.  recv will return -1
or 0 if no data is available, and then emacsclient exits.

Well, obviously it does not do the wrong thing on Windows, or I would
have detected it. But Tim and you are right, it is leftover code and
not needed, so I'll remove it (which will simplify things). Had I
realized before, we could've avoided this thread's uninspiring title
:)

                   /L/e/k/t/u

reply via email to

[Prev in Thread] Current Thread [Next in Thread]