Oops. My bad. thanks for the fix. BTW, when I cross-compile using mingw32 and try to run using wine, I get a silent crash somewhere in the library. None of the tools seem to do anything. Has anyone else experienced something like that? b On 13-01-16 09:44 PM, Akira TAGOH wrote: > On Thu, Jan 17, 2013 at 12:01 PM, Behdad Esfahbod > <behdad@xxxxxxxxxxxxxxxxxxxxxx <mailto:behdad@xxxxxxxxxxxxxxxxxxxxxx>> 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 > > > _______________________________________________ > Fontconfig mailing list > Fontconfig@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/fontconfig > -- behdad http://behdad.org/ _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig