From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add facility to collect stderr of async subprocess Date: Wed, 08 Apr 2015 09:20:12 +0300 Message-ID: <83pp7fgmzn.fsf@gnu.org> References: <87d24d3uwz.fsf-ueno@gnu.org> <83pp87y6iu.fsf@gnu.org> <83mw3bxz9f.fsf@gnu.org> <83k2yfx8zi.fsf@gnu.org> <83egomxog1.fsf@gnu.org> <83ego5tjgt.fsf@gnu.org> <877ftno4fr.fsf-ueno@gnu.org> <55247A98.5020302@cs.ucla.edu> <83r3rvgn4e.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1428474035 19242 80.91.229.3 (8 Apr 2015 06:20:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2015 06:20:35 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: ueno@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 08 08:20:22 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YfjLY-0007v0-A7 for ged-emacs-devel@m.gmane.org; Wed, 08 Apr 2015 08:20:20 +0200 Original-Received: from localhost ([::1]:50740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfjLX-0006u8-Db for ged-emacs-devel@m.gmane.org; Wed, 08 Apr 2015 02:20:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfjLM-0006sQ-0E for emacs-devel@gnu.org; Wed, 08 Apr 2015 02:20:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfjLI-0008EP-Qy for emacs-devel@gnu.org; Wed, 08 Apr 2015 02:20:07 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:57849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfjLI-0008DG-JJ; Wed, 08 Apr 2015 02:20:04 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NMH0000056ZYT00@mtaout24.012.net.il>; Wed, 08 Apr 2015 09:11:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMH00GHL578B380@mtaout24.012.net.il>; Wed, 08 Apr 2015 09:11:32 +0300 (IDT) In-reply-to: <83r3rvgn4e.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185135 Archived-At: > Date: Wed, 08 Apr 2015 09:17:21 +0300 > From: Eli Zaretskii > Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org > > The function register_aux_fd records both of its arguments in the > fd_info[] array. Why do we need to record outchannel? We never watch > on MS-Windows the descriptors used to write to the subprocesses, and > all the writes to them are made from the man thread. E.g., ^^^ "main", of course. Sorry.