[Fontconfig] fontconfig: Branch 'master'
Raimund Steger
rs at mytum.de
Fri Feb 27 02:40:41 PST 2015
> It looks like the maximum length of d_name is defined as NAME_MAX or
> FILENAME_MAX in POSIX. just using them would be simple but if there are
> any
> platforms not following it, your patch looks better indeed.
You're right, I think we could also rely on NAME_MAX instead of strlen. I
hadn't thought of that.
Raimund
--
Worringer Str 31 Duesseldorf 40211 DE home: <rs at mytum.de>
+49-179-2981632 icq 16845346 work: <rs at interface-ag.de>
More information about the Fontconfig
mailing list