diff options
author | munkyu.im <munkyu.im@samsung.com> | 2012-03-07 15:59:04 +0900 |
---|---|---|
committer | munkyu.im <munkyu.im@samsung.com> | 2012-03-07 15:59:04 +0900 |
commit | e7d7ae166f491e8716d931177f9b527479e85541 (patch) | |
tree | 6735b455ec2889e10f4b3a37e41be7bcdbadc390 /os-win32.c | |
parent | 146ee5c274d301613e1dfea88528d8127cba0909 (diff) | |
download | qemu-e7d7ae166f491e8716d931177f9b527479e85541.tar.gz qemu-e7d7ae166f491e8716d931177f9b527479e85541.tar.bz2 qemu-e7d7ae166f491e8716d931177f9b527479e85541.zip |
[Title]convert utf8 to cp949 (CreateFile)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
Diffstat (limited to 'os-win32.c')
-rw-r--r-- | os-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os-win32.c b/os-win32.c index 8ad5fa1fc3..444cf70cba 100644 --- a/os-win32.c +++ b/os-win32.c @@ -129,7 +129,7 @@ int qemu_create_pidfile(const char *filename) BOOL ret; memset(&overlap, 0, sizeof(overlap)); - file = CreateFile(filename, GENERIC_WRITE, FILE_SHARE_READ, NULL, + file = CreateFile(g_win32_locale_filename_from_utf8(filename), GENERIC_WRITE, FILE_SHARE_READ, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if (file == INVALID_HANDLE_VALUE) { |