From markus.triska@gmx.at Thu Jul 17 07:22:52 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Jul 2008 14:22:52 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6HEMiBj022432 for ; Thu, 17 Jul 2008 07:22:45 -0700 Received: from mx10.gnu.org ([199.232.76.166]:49995) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KJUMx-00039e-OI for emacs-pretest-bug@gnu.org; Thu, 17 Jul 2008 10:22:07 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KJUNS-000865-Re for emacs-pretest-bug@gnu.org; Thu, 17 Jul 2008 10:22:43 -0400 Received: from mail.gmx.net ([213.165.64.20]:53320) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KJUNS-00084r-9V for emacs-pretest-bug@gnu.org; Thu, 17 Jul 2008 10:22:38 -0400 Received: (qmail invoked by alias); 17 Jul 2008 14:22:34 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp013) with SMTP; 17 Jul 2008 16:22:34 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1/2y9xcEZH2P6w7lOw0AykK+Ds8v7Wx6HjYkLlxbA 68lVvDZvtTaaqq Received: by mt-computer.local (Postfix, from userid 502) id 9F8A6989724; Thu, 17 Jul 2008 16:22:25 +0200 (CEST) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: Re: 23.0.60; OSX: make-network-process reuses existing file descriptors References: Date: Thu, 17 Jul 2008 16:22:25 +0200 In-Reply-To: (Markus Triska's message of "Tue, 15 Jul 2008 13:33:48 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. > 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: diff --git a/src/process.c b/src/process.c index b0bebeb..b5aebdc 100644 --- a/src/process.c +++ b/src/process.c @@ -3366,7 +3374,7 @@ usage: (make-network-process &rest ARGS) */) hints.ai_protocol = 0; #ifdef HAVE_RES_INIT - res_init (); + /* res_init (); */ #endif ret = getaddrinfo (SDATA (host), portstring, &hints, &res); From rgm@gnu.org Thu Jul 17 15:11:03 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.6 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 17 Jul 2008 22:11:03 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6HMB0ZK008537 for ; Thu, 17 Jul 2008 15:11:02 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KJbg7-0007pZ-KA for control@emacsbugs.donarmstrong.com; Thu, 17 Jul 2008 18:10:23 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18559.49999.555492.643113@fencepost.gnu.org> Date: Thu, 17 Jul 2008 18:10:23 -0400 From: Glenn Morris To: control X-Debbugs-No-Ack: yes reassign 568 spam reassign 570 spam merge 562 569 From mituharu@math.s.chiba-u.ac.jp Thu Jul 17 20:50:05 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 569) by emacsbugs.donarmstrong.com; 18 Jul 2008 03:50:05 +0000 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 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) Date: Fri, 18 Jul 2008 12:49:59 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Markus Triska , 569@debbugs.gnu.org Subject: Re: bug#569: 23.0.60; OSX: make-network-process reuses existing file descriptors In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.2.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> 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 From unknown Sun Aug 10 12:54:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 11 Sep 2008 14:24:07 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator