delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/22/22:34:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
From: Haojun Bao <baohaojun AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: emacsclient.exe won't exit (was: Re: [1.7] Updated: cygwin-1.7.0-65)
References: <20091119094439 DOT GC29173 AT calimero DOT vinschen DOT de> <f4d6f44b0911191814r4653debfu24cbd4afd956f117 AT mail DOT gmail DOT com> <20091120093210 DOT GQ29173 AT calimero DOT vinschen DOT de> <f4d6f44b0911202003j71954bf0lf5b6696acdfe7e7d AT mail DOT gmail DOT com> <20091121110204 DOT GB23273 AT calimero DOT vinschen DOT de> <f4d6f44b0911210743r221b5107qfa4ebee00c9a97e9 AT mail DOT gmail DOT com> <20091121212239 DOT GD29173 AT calimero DOT vinschen DOT de>
Date: Mon, 23 Nov 2009 11:33:29 +0800
In-Reply-To: <20091121212239.GD29173@calimero.vinschen.de> (Corinna Vinschen's message of "Sat, 21 Nov 2009 22:22:39 +0100")
Message-ID: <833a45ud86.fsf_-_@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (cygwin)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi, 

Corinna Vinschen <corinna-cygwin AT cygwin DOT com> writes:

>
> Nver mind.  With the help of your testcase I found the problem.  I'll
> apply a fix shortly, but I have to think about it some more first.
>

After upgrade to -65 cygwin.dll, emacsclient.exe won't exit, no matter
if the --no-wait option is added.

There's a socket kept open between the client and the server:

    $netstat.exe -b -n|grep 3005 -A 1
      TCP    127.0.0.1:3005         127.0.0.1:3112         ESTABLISHED     3472
      [emacs-X11.exe]
    --
      TCP    127.0.0.1:3112         127.0.0.1:3005         ESTABLISHED     2584
      [emacsclient.exe]
    
The test case is simple, just run `emacsclient -n . ' when emacs-x11 has
already (start-server).

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019