[Fontconfig] fontconfig: Branch 'master' - 3 commits

Mikhail Gusarov dottedmag at dottedmag.net
Tue May 29 16:25:10 PDT 2012


Twas brillig at 00:54:54 30.05.2012 UTC+02 when rs at mytum.de did gyre and gimble:

 RS> This causes problems on Solaris 10:

 RS> sun2:fontconfig>make
 RS> [...]
 RS>   CC     fcstat.lo
 RS> "fcstat.c", line 166: undefined struct/union member: d_type
 RS> "fcstat.c", line 166: undefined symbol: DT_DIR
 RS> "fcstat.c", line 193: undefined struct/union member: d_type
 RS> "fcstat.c", line 193: improper member use: d_type
 RS> cc: acomp failed for fcstat.c

Yep, if there is no d_type, then should be a fallback to
stat(2)+S_ISDIR().

Note that even if present, d_type might be unreliable. I have checked
only Linux kernel to verify that vfat filesystem always sets this flag
properly.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20120530/ae398c9d/attachment.pgp>


More information about the Fontconfig mailing list