Why doesn't GlobalVariable::copyAttributesFrom copy the thread local mode?

GlobalVariable::copyAttributesFrom sets the target thread local mode to either general dynamic or not thread local rather than copying the thread local mode from the source. Is that intentional or an oversight?

Thanks,
Keno

I think it is just not implemented yet. We added support for having
explicit thread mode in r159077 and I think we just forgot to update
this code.

Do you want to write a patch for it? :slight_smile:

Cheers,
Rafael

Fixed in r201098.

Thanks,
Hans