From: Aaron Sethman Subject: Re: [Openvpn-devel] Opened file descriptors in script calls In-Reply-To: <20030210103449.GH4850@...30...> Message-ID: References: <200302080347.h183lrf20924@...41...> <20030210103449.GH4850@...30...> MIME-Version: 1.0 Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Date: Mon Feb 10 12:52:04 2003 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit To: Alberto Gonzalez Iniesta Cc: openvpn-devel@lists.sourceforge.net On Mon, 10 Feb 2003, Alberto Gonzalez Iniesta wrote: > > Hi, > > Again, I'm no C hacker, but I think this should be better: > > for(x = 3; x < 100; x++) > > Since the first 3 fds (stdin, stdout and stderr) should be kept open. > Wasn't sure if stdin, stdout and stderr needed to be left open or not in this case. Obviously this is an easy fix :) Regards, Aaron