From cc120344667f04d4f9dd72a1edc7425351e2f902 Mon Sep 17 00:00:00 2001 From: Munkyu Im Date: Tue, 14 Mar 2017 21:57:18 +0900 Subject: [PATCH] sdcard: remove wrong encoding on Windows sdcard path is already encoded by system encoding. So, these is no need to encode twice. Change-Id: Ie4a442bc6ba76e28f427b7f316a92a99eb634639 Signed-off-by: Munkyu Im --- tizen/src/util/osutil-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen/src/util/osutil-win32.c b/tizen/src/util/osutil-win32.c index 6f4c65d..7a6fcfc 100644 --- a/tizen/src/util/osutil-win32.c +++ b/tizen/src/util/osutil-win32.c @@ -206,7 +206,7 @@ bool make_sdcard_lock_os(char *sdcard) } fname = g_strdup_printf("%s.lck", sdcard); - h = CreateFile(g_win32_locale_filename_from_utf8(fname), + h = CreateFile(fname, GENERIC_READ, 0, // No share NULL, -- 2.7.4