From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#569: 23.0.60; OSX: make-network-process reuses existing file descriptors Date: Fri, 18 Jul 2008 12:49:59 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: Reply-To: YAMAMOTO Mitsuharu , 569@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1216354064 21477 80.91.229.12 (18 Jul 2008 04:07:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jul 2008 04:07:44 +0000 (UTC) To: Markus Triska , 569@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 18 06:08:32 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KJhGh-0000kD-Oc for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jul 2008 06:08:32 +0200 Original-Received: from localhost ([127.0.0.1]:52372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJhFo-0003c4-Su for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jul 2008 00:07:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJhFk-0003bG-Qz for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 00:07:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJhFi-0003Zl-RI for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 00:07:32 -0400 Original-Received: from [199.232.76.173] (port=39092 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJhFi-0003ZZ-KF for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 00:07:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38616) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJhFi-0000um-5f for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 00:07:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6I47H7p031247; Thu, 17 Jul 2008 21:07:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6I403YC028264; Thu, 17 Jul 2008 21:00:03 -0700 X-Loop: don@donarmstrong.com Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 18 Jul 2008 04:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 569 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 569-submit@emacsbugs.donarmstrong.com id=B569.121635300526062 (code B ref 569); Fri, 18 Jul 2008 04:00:03 +0000 Original-Received: (at 569) by emacsbugs.donarmstrong.com; 18 Jul 2008 03:50:05 +0000 Original-Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6I3o1oL025859 for <569@emacsbugs.donarmstrong.com>; Thu, 17 Jul 2008 20:50:03 -0700 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id D5A832C40; Fri, 18 Jul 2008 12:49:59 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.2.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 18 Jul 2008 00:07:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18745 Archived-At: >>>>> On Thu, 17 Jul 2008 16:22:25 +0200, Markus Triska said: >> This is because p2 and p3 are both created with infd=outfd=0, thus >> closing the channel for p2 also closes that of p3. > Commenting out a res_init call in process.c makes this go away for > me. I do not know what other consequences this has though: You can comment it out on Mac OS X, because calling `res_init' does not make sense at all on that platform. Neither does linking libresolv. http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01467.html http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01254.html So, it turns out to be not only meaningless, but also harmful on a particular version (10.4) of Mac OS X. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp