Re: fontconfig: Branch 'master'

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

 



Both should be fixed.  Or so I think...

On 13-01-16 06:30 PM, Raimund Steger wrote:
> Akira TAGOH wrote:
>> [...]
>> +#elif defined (HAVE_GETPROGNAME) && defined (HAVE_REALPATH)
>> +    const char *p = getprogname ();
>> +    char resolved_path[PATH_MAX + 1];
>> +
>> +    if (p)
>> +    {
>> +        if (realpath (p, resolved_path) != NULL)
>> +        prgname = FcStrdup (resolved_path);
>> +    }
> 
> This is the absolute path, isn't it:
> 
> 
> bsd1:bin)fc-match -v|grep prgname
>         prgname:
> "/export/dist/FreeBSD-x86/stw/fontconfig-20130116/bin/fc-match"(s)
> 
> 
> On Linux, there's another problem:
> 
> vr2:fontconfig)fc-match -v|grep prgname
>         prgname: "fc-match|¦®¿"(s)
> 
> (according to readlink(2), "readlink() does not append a null byte to buf")
> 
> 
> Raimund
> 
> 

-- 
behdad
http://behdad.org/
_______________________________________________
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