bugmldonkey, a multi-networks file-sharing client - Bugs: bug #13619, Always returns ASCII(C) locale...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13619: Always returns ASCII(C) locale when it use libcharset

Submitter:  None
Submitted:  Mon 04 Jul 2005 04:04:52 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  i18n issues Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  2.5.30.16 Release: 
Operating System:  FreeBSD Binaries Origin:  CVS / Self compiled
CPU type:  Intel x86

Mon 04 Jul 2005 08:23:09 PM UTC, comment #1: 

Patch applied to CVS 2005/07/04

spiralvoice <spiralvoice>
Group administrator
Mon 04 Jul 2005 04:04:52 AM UTC, original submission:  


Index: src/utils/lib/charsetstubs.c
===================================================================
RCS file: /cvsroot/mldonkey/mldonkey/src/utils/lib/charsetstubs.c,v
retrieving revision 1.5
diff -u -r1.5 charsetstubs.c
--- src/utils/lib/charsetstubs.c        23 Apr 2005 21:54:11 -0000      1.5
+++ src/utils/lib/charsetstubs.c        4 Jul 2005 03:56:28 -0000
@@ -1362,10 +1362,10 @@

   const char *str;

+  setlocale(LC_CTYPE, "");
   #ifdef HAVE_LOCALE_CHARSET
     str = locale_charset ();
   #else
-    setlocale(LC_CTYPE, "");
     str = nl_langinfo(CODESET);
   #endif

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-04 spiralvoice StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code