[Fontconfig] Towards a 2.4 release

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

 



Phil Race wrote:
> The mmap cache removed all but one usage of "fopen" from the source.
> 
> grep fopen *c
> fcxml.c:    f = fopen ((char *) filename, "r");
> 
> On 32 bit solaris an unsigned char is used for the file descriptor
> in stdio routines and I gather (ancient solaris bug 1085341) that
> fixing this would require an ABI change and it couldn't be done.
> I wonder if it would be possible to get rid of that too and replace it
> with "open"
> at least perhaps in an #ifdef for 32 bit Solaris.

There's no need to use fopen there.  I've replaced it with open and will
commit momentarily.

pat

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

  Powered by Linux