[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KConfig::addConfigSources is broken
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-11-19 6:10:03
Message-ID: 200711182310.04482.aseigo () kde ! org
[Download RAW message or body]


On Sunday 18 November 2007, Thomas Braxton wrote:
> On 11/18/07, Aaron J. Seigo <aseigo@kde.org> wrote:
> > On Sunday 18 November 2007, Thomas Braxton wrote:
> > > On 11/18/07, Aaron J. Seigo <aseigo@kde.org> wrote:
> > > > and when Name is set to Bar it will write that value out to
> > > > d->developerTempFile?
> > >
> > > yes :)
> >
> > how exactly does it determine the read order?
>
> any files set with addConfigSources are treated as "defaults"
> therefore they are read before the file name passed to the
> constructor.

huh. well, suffice it to say that this is unexpected behaviour as it doesn't 
match the rest of the kconfig's read/write symmetry pattern. i suppose that's 
why the earlier implementation did it the other way around. *shrug*

if it were up to me i'd suggest that preserving that pattern is more important 
than a new concept of "most specific" where writing is no longer tied to read 
order.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic