[libbluray-devel] dir_win32: use correct path separator

hpi1 git at videolan.org
Sun Aug 7 16:13:48 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Aug  7 12:07:59 2016 +0300| [fb9b559e7040cbca99a071aaa9f470e62c40bb57] | committer: hpi1

dir_win32: use correct path separator

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

 src/file/dir_win32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/file/dir_win32.c b/src/file/dir_win32.c
index 13fd3ef..5cbc3c8 100644
--- a/src/file/dir_win32.c
+++ b/src/file/dir_win32.c
@@ -79,7 +79,7 @@ static dir_data_t *_open_impl(const char *dirname)
     wchar_t wfilespec[MAX_PATH];
     int result;
 
-    filespec = str_printf("%s/*", dirname);
+    filespec = str_printf("%s" DIR_SEP "*", dirname);
     if (!filespec) {
         return NULL;
     }



More information about the libbluray-devel mailing list