subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1132334 - /subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp
Date Sun, 05 Jun 2011 09:26:58 GMT
Author: rhuijben
Date: Sun Jun  5 09:26:58 2011
New Revision: 1132334

URL: http://svn.apache.org/viewvc?rev=1132334&view=rev
Log:
* subversion/bindings/javahl/native/JNIUtil.cpp
  (JNIGlobalInit): Resolve a few deprecation warnings for compiling with nls.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp?rev=1132334&r1=1132333&r2=1132334&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/JNIUtil.cpp Sun Jun  5 09:26:58 2011
@@ -226,10 +226,10 @@ bool JNIUtil::JNIGlobalInit(JNIEnv *env)
         return FALSE;
       }
     utf8_path[outlength - outbytes] = '\0';
-    internal_path = svn_path_internal_style(utf8_path, pool);
+    internal_path = svn_dirent_internal_style(utf8_path, pool);
     /* get base path name */
-    internal_path = svn_path_dirname(internal_path, pool);
-    internal_path = svn_path_join(internal_path, SVN_LOCALE_RELATIVE_PATH,
+    internal_path = svn_dirent_dirname(internal_path, pool);
+    internal_path = svn_dirent_join(internal_path, SVN_LOCALE_RELATIVE_PATH,
                                   pool);
     bindtextdomain(PACKAGE_NAME, internal_path);
     apr_pool_destroy(pool);



Mime
View raw message