[Fontconfig] Re: [patch]: mmapping FontConfig data structures

Behdad Esfahbod behdad at cs.toronto.edu
Sat Jun 11 01:34:38 EST 2005


On Fri, 10 Jun 2005, Jeremy C. Reed wrote:

> Please make sure this doesn't have race conditions when using /tmp or
> TMPDIR.
>
> Maybe use O_EXCL (with open(2)) when creating, but that may not be good
> enough for some network-based filesystems.

/tmp is local on all known systems.

> And don't use 666 for creating the file. If I overlooked or misunderstood
> something, please let us know.
>
>  Jeremy C. Reed

--behdad
http://behdad.org/



More information about the Fontconfig mailing list