On Thu, Aug 14, 2008 at 10:59:57AM +1200, Chris Brown wrote: > Then this after sqlite3_close but before the second call to system: > > . > .. > 0 > 1 > 2 > 3 > 5 > 6
that seems wrong, for those which are symlinks (ie. 0->6) can you also readlink and print that out too please? it seems like some fd's are beinh held open as a work around you can loop over these fd's (say 2 though 255) and set FD_CLOEXEC (lots of things do this, it's a but of a hack and not entirely reliable) _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users