sdcard: remove wrong encoding on Windows
authorMunkyu Im <munkyu.im@samsung.com>
Tue, 14 Mar 2017 12:57:18 +0000 (21:57 +0900)
committerMunkyu Im <munkyu.im@samsung.com>
Tue, 14 Mar 2017 13:04:25 +0000 (22:04 +0900)
sdcard path is already encoded by system encoding.
So, these is no need to encode twice.

Change-Id: Ie4a442bc6ba76e28f427b7f316a92a99eb634639
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
tizen/src/util/osutil-win32.c

index 6f4c65d..7a6fcfc 100644 (file)
@@ -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,