On Fri, Jul 09, 2004 at 08:08:37AM +0200, Michael Peppler wrote: > On Thu, 2004-07-08 at 21:42, Andrew Pimlott wrote: > > > - Have the database drivers set the close-on-exec flag of the fd used to > > connect to the database. This makes sense to me, because after an > > exec, there is usually no way to recover the connection (does any > > database library allow this?). > > Yes - Sybase OpenClient has always allowed the re-use of open > connections across forks (and hence across execs).
So there is a call that takes an fd and creates a connection around it? Cool. Anyhow, I'm pretty convinced that closing the fds in the debugger is the cleaner solution, so this isn't an issue. Andrew