← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 861123] Re: Can call setenv ("LANGUAGE", NULL) which corrupts the environment

 

** Changed in: indicator-datetime
    Milestone: None => 0.3.0

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
https://bugs.launchpad.net/bugs/861123

Title:
  Can call setenv ("LANGUAGE", NULL) which corrupts the environment

Status in The Date and Time Indicator:
  Fix Committed
Status in Ubuntu Translations:
  Triaged

Bug description:
  In utils.c, T_() if LANGUAGE is not defined in the environment then
  g_setenv ("LANGUAGE", NULL) is called.  There is a bug in libc with
  setting environment values to NULL and sets the environment to
  "LANGUAGE=" without the null character.  This is causing Unity Greeter
  to mess up translations as getenv returns a random value for LANGUAGE
  (overriding LANG).

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-datetime/+bug/861123/+subscriptions