7dda4441e1
Treat inherited LC_* category locale variables as ownership of the locale group before adding LANG or LC_ALL defaults. Fixes #2701