gDirty = PR_TRUE;
static void pref_SetValue(PrefValue* oldValue, PrefValue newValue, PrefType type){    switch (type & PREF_VALUETYPE_MASK)    {        case PREF_STRING:            PR_ASSERT(newValue.stringVal);            PR_FREEIF(oldValue->stringVal);            oldValue->stringVal = newValue.stringVal ? PL_strdup(newValue.stringVal) : NULL;            break;                default:            *oldValue = newValue;    }}