From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Can we depend on FD_CLOEXEC always being supported? Date: Sun, 08 Jan 2012 18:44:42 -0500 Message-ID: References: <4F0A1CC6.5020208@dancol.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1326066295 31846 80.91.229.12 (8 Jan 2012 23:44:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2012 23:44:55 +0000 (UTC) Cc: Emacs development discussions To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 09 00:44:51 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rk2Px-0001aZ-Hz for ged-emacs-devel@m.gmane.org; Mon, 09 Jan 2012 00:44:49 +0100 Original-Received: from localhost ([::1]:38094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk2Pw-0004Ol-5r for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2012 18:44:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk2Ps-0004OV-ID for emacs-devel@gnu.org; Sun, 08 Jan 2012 18:44:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk2Pr-0001pg-E1 for emacs-devel@gnu.org; Sun, 08 Jan 2012 18:44:44 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:36310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk2Pr-0001pc-8q for emacs-devel@gnu.org; Sun, 08 Jan 2012 18:44:43 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rk2Pq-0007vz-Ot; Sun, 08 Jan 2012 18:44:42 -0500 In-Reply-To: <4F0A1CC6.5020208@dancol.org> (Daniel Colascione's message of "Sun, 08 Jan 2012 14:46:30 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:147494 Archived-At: Daniel Colascione writes: > Aside from DOS_NT, do we support any platforms without FD_CLOEXEC? > Today, it's only used conditionally in the Emacs code. I don't see > why: FD_CLOEXEC has been standard for a very long time (4.3BSD and > SVr4). Why wouldn't we want to use it unconditionally? emacs.c has a FD_CLOEXEC use protected only by ! DOS_NT since 2008-12-08. We have no received any complaints about this, so the rest of the FD_CLOEXEC conditionals can go.