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 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> <20091120093210 DOT GQ29173 AT calimero DOT vinschen DOT de> <20091121110204 DOT GB23273 AT calimero DOT vinschen DOT de> <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 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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