apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r565479 - /apr/apr/branches/0.9.x/file_io/unix/filepath.c
Date Mon, 13 Aug 2007 19:16:23 GMT
Author: jim
Date: Mon Aug 13 12:16:22 2007
New Revision: 565479

URL: http://svn.apache.org/viewvc?view=rev&rev=565479
Log:
 In Mac OS X's VFS API file names are, by definition, canonically
 decomposed Unicode, encoded using UTF-8. Shortest rep
 also uses composed UTF-8


Modified:
    apr/apr/branches/0.9.x/file_io/unix/filepath.c

Modified: apr/apr/branches/0.9.x/file_io/unix/filepath.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/file_io/unix/filepath.c?view=diff&rev=565479&r1=565478&r2=565479
==============================================================================
--- apr/apr/branches/0.9.x/file_io/unix/filepath.c (original)
+++ apr/apr/branches/0.9.x/file_io/unix/filepath.c Mon Aug 13 12:16:22 2007
@@ -305,6 +305,10 @@
 
 APR_DECLARE(apr_status_t) apr_filepath_encoding(int *style, apr_pool_t *p)
 {
+#if defined(DARWIN)
+    *style = APR_FILEPATH_ENCODING_UTF8;
+#else
     *style = APR_FILEPATH_ENCODING_LOCALE;
+#endif
     return APR_SUCCESS;
 }



Mime
View raw message