From markus.triska@gmx.at Tue Jul 15 04:34:06 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=-7.1 required=4.0 tests=AWL,BAYES_00,FOURLA, FVGT_m_MULTI_ODD,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jul 2008 11:34:06 +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 m6FBY0wY015330 for ; Tue, 15 Jul 2008 04:34:02 -0700 Received: from mail.gnu.org ([199.232.76.166]:33418 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KIimc-0005uU-NJ for emacs-pretest-bug@gnu.org; Tue, 15 Jul 2008 07:33:26 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KIin5-00008W-9E for emacs-pretest-bug@gnu.org; Tue, 15 Jul 2008 07:33:59 -0400 Received: from mail.gmx.net ([213.165.64.20]:43229) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KIin4-00007y-PK for emacs-pretest-bug@gnu.org; Tue, 15 Jul 2008 07:33:55 -0400 Received: (qmail invoked by alias); 15 Jul 2008 11:33:51 -0000 Received: from pnsgw3-client030.demo.tuwien.ac.at (EHLO pnsgw3-client030.demo.tuwien.ac.at) [128.131.196.30] by mail.gmx.net (mp058) with SMTP; 15 Jul 2008 13:33:51 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX19g/0gGykhgywzRVjQAQsxsO1sySSWhWEZGf4HERq wymL9DAO60OepN Received: by pnsgw3-client030.demo.tuwien.ac.at (Postfix, from userid 502) id 4BDAF97E627; Tue, 15 Jul 2008 13:33:48 +0200 (CEST) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.60; OSX: make-network-process reuses existing file descriptors Date: 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.53 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) When I evaluate the following form in "emacs -Q": (progn (setq p1 (make-network-process :name "p1" :host "www.fsf.org" :service 80)) (setq p2 (make-network-process :name "p2" :host "www.fsf.org" :service 80)) (setq p3 (make-network-process :name "p3" :host "www.fsf.org" :service 80)) (delete-process p2) (process-send-string p3 "there")) I get: Debugger entered--Lisp error: (file-error "writing to process" "bad file descriptor" #>) process-send-string(#> "hi") This is because p2 and p3 are both created with infd=outfd=0, thus closing the channel for p2 also closes that of p3. In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-07-13 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 configured using `configure 'CFLAGS=-O0 -g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t 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 cyd@stupidchicken.com Wed Aug 13 17:53:46 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=-3.4 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 562-done) by emacsbugs.donarmstrong.com; 14 Aug 2008 00:53:46 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7E0rhJi028325 for <562-done@emacsbugs.donarmstrong.com>; Wed, 13 Aug 2008 17:53:44 -0700 Received: by cyd (Postfix, from userid 1000) id 6C8A957E311; Wed, 13 Aug 2008 20:54:20 -0400 (EDT) From: Chong Yidong To: YAMAMOTO Mitsuharu Cc: Markus Triska , 562-done@debbugs.gnu.org Subject: Re: 23.0.60; OSX: make-network-process reuses existing file descriptors Date: Wed, 13 Aug 2008 20:54:20 -0400 Message-ID: <87vdy4o1qb.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > > 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. I've undef'ed HAVE_LIBRESOLV and HAVE_RES_INIT in s/darwin.h, as you suggested. Thanks. From unknown Tue Jun 17 01:28:41 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