In http://hg.mozilla.org/mozilla-central/rev/ced813e0209d we moved *aPluginsChanged = PR_TRUE; In it's new location, it is marked TRUE every time a plugin tag is added. This means that when we initially build the plugins list, it is being marked as having changed, even if there is no difference from pluginreg.dat. aPluginsChanged is used to determine when to rewrite pluginreg.dat, so we are rewriting it every time we create the plugin list.
Created attachment 492010 [details] [diff] [review] PluginReg Rewrite Fix (v1.0)
Comment on attachment 492010 [details] [diff] [review] PluginReg Rewrite Fix (v1.0) Use braces with the if statement.