freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Close on exec for font files


From: Scott Long
Subject: Re: [Devel] Close on exec for font files
Date: Wed, 26 Dec 2001 10:21:33 -0800

On Wednesday 26 December 2001 10:24 am, you wrote:
> Around 11 o'clock on Dec 26, David Turner wrote:
> > What do you mean "across exec" exactly ??
>
> I mean using:
>
>         ret = fcntl (fd, F_SETFD, FD_CLOEXEC);

I thought of this but it seems like tremendous overkill to put something like 
this into the library. Better to just call FT_Done_FreeType() and let the 
library clean up all its files as it wishes.

As I said in my earlier email, just call FT_Done_FreeType after you fork() 
and before you exec().

Regards,
Scott Long



reply via email to

[Prev in Thread] Current Thread [Next in Thread]