On Thu, Jan 17, 2013 at 12:01 PM, Behdad Esfahbod <behdad@xxxxxxxxxxxxxxxxxxxxxx> wrote:
--
Akira TAGOH
- 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