Re: fontconfig: Branch 'master'

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

 



On Thu, Jan 17, 2013 at 12:01 PM, Behdad Esfahbod <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

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux