Re: FcConfigEnableHome?

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

 



On Mon, 2014-06-30 at 12:38 +0900, Akira TAGOH wrote:

Thanks for looking into it so quickly.

However, if I'm reading it right that still leaves FcConfigEnableHome
broken, since it has no effect if the environment variable
XDG_CONFIG_HOME is set.

if (!_FcConfigHomeEnabled)
	return NULL;

Right at the start of that function would restore FcConfigEnableHome, I
believe. I realize the docs for that function state that it disables
files specified using ~ but since that is pretty much deprecated, I
think it should disable loading of any configuration files in the users
home directory?

> Thanks for catching this up.
> 
> Fixed in git.
> 
> On Sun, Jun 29, 2014 at 4:25 PM, Jerry Casiano <jerrycasiano@xxxxxxxxx> wrote:
> > On Sun, 2014-06-29 at 01:32 -0400, Jerry Casiano wrote:
> >> Sorry if I'm on crack, but that function no longer has any effect on my
> >> system. Not sure when it stopped working but it was recent.
> >>
> >> It seems to be bypassed by FcConfigXdgConfigHome?
> >>
> >> There's way too much code and most of it is over my head but I'm thinking line 2037 in fccfg.c could be
> >>
> >> if (env && _FcConfigHomeEnabled)
> >>
> >>
> >>
> >
> > After actually looking at the rest of that function, it would probably
> > be better to just return NULL right off the bat from
> > FcConfigXdgConfigHome if !_FcConfigHomeEnabled.
> >
> > _______________________________________________
> > Fontconfig mailing list
> > Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.freedesktop.org/mailman/listinfo/fontconfig
> 
> 
> 


_______________________________________________
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