[omniORB] SocketSetCloseOnExec and socket collection

Duncan Grisby duncan at grisby.org
Tue Feb 27 11:26:55 GMT 2007


On Monday 26 February, =?iso-8859-1?Q?S=E9bastien_Bouchex_Bellomi=E9?= wrote:

> Under linux (RH 4), I have some warnings like this :
> 
> File descriptor 3 left open
> 
> File descriptor 4 left open
> 
> ...
> 
> They appear when our app (liked against omniorb) is spawning a child
> process. After a look at the omniorb code, it seems that
> SocketSetCloseOnExec is not called on the initial pipe created in
> tcpConnection::tcpConnection and in sslConnection:: sslConnection (the
> calling code is in SocketCollection::SocketCollection).
> 
> Is it a bug and is it done by design ?

It's a bug. I've fixed it in CVS in the 4.1 development branch. Thanks
for the bug report.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list