Use qputenv() instead of putenv().

svn path=/trunk/KDE/kdebase/apps/; revision=1194042
This commit is contained in:
Raphael Kubo da Costa 2010-11-08 00:16:21 +00:00
parent bd194dd6dd
commit 5761bc8259

View file

@ -25,7 +25,7 @@ int ChfnProcess::exec(const char *pass, const char *name)
{
// Try to set the default locale to make the parsing of the output
// of `chfn' easier.
putenv((char*)"LC_ALL=C");
qputenv("LC_ALL", "C");
QList<QByteArray> args;
args += "-f";