Re: fontconfig: Branch 'master' - 3 commits

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

 



Twas brillig at 00:54:54 30.05.2012 UTC+02 when rs@xxxxxxxx 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.

-- 

Attachment: pgp2WVzGbergs.pgp
Description: PGP signature

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux