[omniORB] Re: SocketSetCloseOnExec and socket collection

Sébastien Bouchex Bellomié sbouchex at infovista.com
Wed Feb 28 09:10:52 GMT 2007


Duncan,

Thanks for the fix !

Do you know when the new release is planned ?

Thanks
Seb

-------------------------------------------------------------------------------
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.




More information about the omniORB-list mailing list