GNU bug report logs - #569
23.0.60; OSX: make-network-process reuses existing file descriptors

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Thu, 17 Jul 2008 14:30:04 UTC

Severity: normal

Merged with 562

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Markus Triska <markus.triska <at> gmx.at>, 569 <at> debbugs.gnu.org
Subject: bug#569: 23.0.60;	OSX: make-network-process reuses existing file descriptors
Date: Fri, 18 Jul 2008 12:49:59 +0900
>>>>> On Thu, 17 Jul 2008 16:22:25 +0200, Markus Triska <markus.triska <at> gmx.at> 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 <at> math.s.chiba-u.ac.jp




This bug report was last modified 16 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.