Re: [G2R] Re: Various releases ...



On Thu, May 09, 2002 at 08:43:26AM +0100, Michael Meeks wrote:
> Hi Havoc,
> 
> On Thu, 2002-05-09 at 05:01, Havoc Pennington wrote:
> > Michael Meeks <michael ximian com> writes:
> > > 	Well - please propose a solution; I'm all ears.
> 
> > I don't even know what the problem is.
> 
> 	The problem is this: that we bind Unix Domain Sockets, that create
> /tmp/orbit-foo/linc-fa239876ad78fb type 'files' in /tmp/orbit-foo, and
> that they need cleaning up on program exit.
> 
> 	They also need cleaning up when programs terminate abnormally, but this
> is a less frequent occurrence.

You could try using the unix socket abstract namespace: set sun.sun_path[0]
to NULL when you bind().  See the unix(7) manual for more detail.

- Dick




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]