Re: [evolution-patches] File descriptor leaks from open() in e-d-s
- From: Matthew Barnes <mbarnes redhat com>
- To: evolution-patches gnome org
- Subject: Re: [evolution-patches] File descriptor leaks from open() in e-d-s
- Date: Mon, 14 May 2007 10:54:05 -0400
On Mon, 2007-05-14 at 10:21 -0400, Jeffrey Stedfast wrote:
> hmmm, I wonder if glib has a g_mkstemp() or something? if not, perhaps
> we should consider writing our own mkstemp() wrapper in
> camel-file-utils.c or something.
>
> if there is a g_mkstemp(), this code could be simplified a bit and
> probably not have to alloca() at all.
There is indeed:
http://developer.gnome.org/doc/API/2.0/glib/glib-File-Utilities.html#g-mkstemp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]