projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad0823e
)
[Title] Change kernel log file's open mode at windows7.
author
sangjin3.kim
<sangjin3.kim@samsung.com>
Thu, 2 Feb 2012 06:54:59 +0000
(15:54 +0900)
committer
sangjin3.kim
<sangjin3.kim@samsung.com>
Thu, 2 Feb 2012 06:54:59 +0000
(15:54 +0900)
[Type] Enhancement
[Module] log
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution] open mode changed from OPEN_ALWAYS to CREATE_ALWAYS.
[TestCase]
Change-Id: I52b2ba373fd0fe550691c3bb136ec498116f23f1
qemu-char.c
patch
|
blob
|
history
diff --git
a/qemu-char.c
b/qemu-char.c
index
bd4e944
..
795aec0
100644
(file)
--- a/
qemu-char.c
+++ b/
qemu-char.c
@@
-1777,7
+1777,7
@@
static CharDriverState *qemu_chr_open_win_file_out(QemuOpts *opts)
HANDLE fd_out;
fd_out = CreateFile(file_out, GENERIC_WRITE, FILE_SHARE_READ, NULL,
-
OPEN
_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
+
CREATE
_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if (fd_out == INVALID_HANDLE_VALUE)
return NULL;