[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH akira at tagoh.org
Wed Jan 16 19:44:04 PST 2013


On Thu, Jan 17, 2013 at 12:01 PM, Behdad Esfahbod <
behdad at kemper.freedesktop.org> wrote:

> -           prgname = FcStrdup (p);
> +           prgname = FcStrdup (r);
>         }
> -#endif
>
>         if (!prgname)
>             prgname = FcStrdup ("");
> @@ -175,6 +176,7 @@ retry:
>             free (prgname);
>             goto retry;
>         }
> +#endif
>      }
>

Hmm, moving that #endif to out of fc_atomic_ptr_cmpexch() breaks the code
in above #ifdef for Win32. and no need to parse the path, just stop using
realpath() works fine.

-- 
Akira TAGOH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20130117/b3316fd1/attachment.html>


More information about the Fontconfig mailing list