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

List:       kde-commits
Subject:    branches/KDE/4.1/kdelibs/solid/solid/backends/hal
From:       Ambroz Bizjak <ambro () b4ever ! net>
Date:       2008-10-29 15:03:05
Message-ID: 1225292585.093273.7708.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 877445 by abizjak:

backport ntfs locale fix from revision 877443


 M  +2 -2      halstorageaccess.cpp  


--- branches/KDE/4.1/kdelibs/solid/solid/backends/hal/halstorageaccess.cpp #877444:877445
@@ -257,14 +257,14 @@
             options << "-C="+QString(nl_langinfo(CODESET));
     }
 #else
-    if (fstype=="vfat" || /*fstype.startsWith("ntfs") ||*/ fstype=="iso9660" || fstype=="udf" ) {
+    if (fstype=="vfat" || fstype=="ntfs" || fstype=="iso9660" || fstype=="udf" ) {
         if (halOptions.contains("utf8"))
             options<<"utf8";
         else if (halOptions.contains("iocharset="))
             options<<"iocharset=utf8";
     }
     // pass our locale to the ntfs-3g driver so it can translate local characters
-    else if ( fstype.startsWith("ntfs") && halOptions.contains("locale=") ) {
+    else if ( halOptions.contains("locale=") ) {
         // have to obtain LC_CTYPE as returned by the `locale` command
         // check in the same order as `locale` does
         char *cType;
[prev in list] [next in list] [prev in thread] [next in thread] 

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