[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdeutils/kdepasswd/userinfo
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-01-13 22:27:21
Message-ID: 200401132326.56514.nicolasg () snafu ! de
[Download RAW message or body]

Does setting both environment variables work too?
(Because SuSE seems more to work with $LANG, so setting $LC_ALL only will not 
override the set $LANG .)

(I have not tested anything. I have not KDE 3.2.)

Have a nice day!

--- Original Message ---
List:       kde-cvs
Subject:    kdeutils/kdepasswd/userinfo
From:       Laurent Montel <montel () kde ! org>
Date:       2004-01-13 21:37:07
Message-ID: <20040113213707.DBAE0907E () office ! kde ! org>


CVS commit by mlaurent: 

Use LC_ALL=C and not LANG=C otherwise chfn use system locale
(French for me) and it freeze kcontrol, because process is not
finished.


  M +1 -1      chfnproc.cpp   1.3


--- kdeutils/kdepasswd/userinfo/chfnproc.cpp  #1.2:1.3
@@ -25,5 +25,5 @@ int ChfnProcess::exec(const char *pass, 
   // Try to set the default locale to make the parsing of the output
   // of `chfn' easier.
-  putenv((char*)"LANG=C");
+  putenv((char*)"LC_ALL=C");
 
   QCStringList args;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic