[PATCH] KConfig: Rewrite globals only if modified
Oswald Buddenhagen
ossi at kde.org
Mon Feb 25 22:11:45 GMT 2008
On Mon, Feb 25, 2008 at 11:02:23PM +0100, David Faure wrote:
> I guess that means "testing that the global config isn't rewritten
> when not necessary, by comparing its timestamp from before and after
> the write operation". That's the best way to ensure it won't ever get
> broken again, by future changes.
>
a signature i used quite a time ago seems relevant to that statement:
nothing is fool-proof to a sufficiently talented fool.
or we could just use good ol' murphy's law.
in that case it means that if you introduce that regression test,
somebody will surely introduce a "timestamp preserving mode" which will
be accidentally entered exactly at the point when this regtest is
executed, just in time to cover up the breakage introduced one commit
later.
:-D
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Confusion, chaos, panic - my work here is done.
More information about the kde-core-devel
mailing list