Re: [evolution-patches] [mail] Patch to close stray fds - bug#307375



On Thu, 2005-08-18 at 09:13 +0530, Kaushal Kumar wrote:
> On Wed, 2005-08-17 at 10:14 -0400, Jeffrey Stedfast wrote:
> > this patch is wrong. CamelStreamFS takes ownership of the fd when called
> > with camel_stream_fs_new_with_fd() and the fd gets closed when the
> > stream gets finalised.
> So, we do not need to 'close' the descriptor since camel_object_unref on
> stream is enough ? I am not conversant with the camel code, so I am
> asking.

Well, that's precisely what Jeff just answered ...





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