<div dir="ltr">On Thu, Jan 17, 2013 at 12:01 PM, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@kemper.freedesktop.org" target="_blank">behdad@kemper.freedesktop.org</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">- prgname = FcStrdup (p);<br>
+ prgname = FcStrdup (r);<br>
}<br>
-#endif<br>
<br>
if (!prgname)<br>
prgname = FcStrdup ("");<br>
@@ -175,6 +176,7 @@ retry:<br>
free (prgname);<br>
goto retry;<br>
}<br>
+#endif<br>
}<br></blockquote><div><br></div><div style>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.</div>
</div><div><br></div>-- <br>Akira TAGOH
</div></div>