[libbluray-devel] Fix creation of cache (sub-)directories on windows platforms

ace20022 git at videolan.org
Thu Jul 6 12:47:20 CEST 2017


libbluray | branch: master | ace20022 <ace20022 at ymail.com> | Sun Jul  2 20:48:42 2017 +0200| [07a14fbc02feaba99172fda6f8920793a4693a02] | committer: Petri Hintukainen

Fix creation of cache (sub-)directories on windows platforms

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=07a14fbc02feaba99172fda6f8920793a4693a02
---

 src/libbluray/bdj/java/org/videolan/VFSCache.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/org/videolan/VFSCache.java b/src/libbluray/bdj/java/org/videolan/VFSCache.java
index 08f7b2f9..e0b495fd 100644
--- a/src/libbluray/bdj/java/org/videolan/VFSCache.java
+++ b/src/libbluray/bdj/java/org/videolan/VFSCache.java
@@ -294,7 +294,7 @@ class VFSCache {
         String[] names = Libbluray.listBdFiles(relPath, true);
         if (names != null) {
             /* this is directory. Make sure it exists. */
-            Libbluray.cacheBdRomFile(relPath + "/", cacheRoot + relPath + "/");
+            Libbluray.cacheBdRomFile(relPath + File.separator, cacheRoot + relPath + File.separator);
             return;
         }
 



More information about the libbluray-devel mailing list