[PATCH] KConfig: Rewrite globals only if modified

Chusslove Illich caslav.ilic at gmx.net
Mon Feb 25 00:04:14 GMT 2008


As it is now, KConfig will issue rewrite of global config whenever component
config is dirty, regardless if global config is dirty itself. This may be a
problem for caching global config data, e.g. as that done by kstartupconfig.

The attached patch checks if there is any dirty global config entry, and
issues rewrite only if that is the case. Is it committable?

-- 
Chusslove Illich (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kconfig-01.diff
Type: text/x-diff
Size: 815 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080225/df94bd5a/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080225/df94bd5a/attachment.sig>


More information about the kde-core-devel mailing list