<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Adding a --sysroot like option to fc-cache"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59456#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Adding a --sysroot like option to fc-cache"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59456">bug 59456</a>
from <span class="vcard"><a class="email" href="mailto:lpalcu@yahoo.com" title="Laurentiu Palcu <lpalcu@yahoo.com>"> <span class="fn">Laurentiu Palcu</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=59456#c11">comment #11</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=59456#c10">comment #10</a>)
> > _FcConfigSysRoot is not part of the FcConfig structure, it's static.
>
> It should be.</span >
Well, I started to implement it this way but I soon realized it cannot be done.
If you guys know a way, I'm open to ideas. Anyhow, here's why I did it static:
when FcInitLoadConfig() is called, it must be already aware of any sysroot in
order to contain the config file search to a certain location. Otherwise I
would have had to pass the sysroot to FcInitLoadConfig() but, I'm pretty
certain, changing the existing API would have been even worse. So, I'm not sure
I can make it part of FcConfig structure...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>