From: =?iso-8859-1?q?Chris=20Rankin?= Subject: Re: [BUG] alsa-lib leaves sound device open for child processes Date: Fri, 7 Feb 2003 19:46:28 +0000 (GMT) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20030207194628.20880.qmail@web40604.mail.yahoo.com> References: <20030207153720.1410d9e6.sebastian_kapfer@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20030207153720.1410d9e6.sebastian_kapfer@web.de> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Sebastian Kapfer , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --- Sebastian Kapfer wrote: >> Setting FD_CLOEXEC automatically doesn't make the > library less powerful. > You can still unset the flag yourself __if you > really need the feature__ > of inherited ALSA FD's. But wouldn't FD_CLOEXEC be > the "reasonable > default" setting, which is correct for 99% of all > applications? Most of those "99% of all applications" don't spawn child processes at all and so don't care one way or another. (And did you know that 98.68% of all statistics are invented ;-)?) All of the remaining applications should be considering what will happen to their resources on exec(), and I see no reason why careless programmers should have a few of their bugs swept under the rug for them. Chris __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com