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:
e2d6271
)
debugch: Add O_APPEND flag
author
Munkyu Im
<munkyu.im@samsung.com>
Wed, 16 Jul 2014 10:06:23 +0000
(19:06 +0900)
committer
Munkyu Im
<munkyu.im@samsung.com>
Wed, 16 Jul 2014 10:06:23 +0000
(19:06 +0900)
Otherwise, stderr and stdout are not written on log file.
Change-Id: I6e00b3dd98fad261c2541eb7279d972402b4caca
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
tizen/src/debug_ch.c
patch
|
blob
|
history
diff --git
a/tizen/src/debug_ch.c
b/tizen/src/debug_ch.c
index 1f7c164cb9f699dc03564c527a8f572376d7fed2..e2504f56586f1debfc4e2f612ef4f9a325febdbe 100644
(file)
--- a/
tizen/src/debug_ch.c
+++ b/
tizen/src/debug_ch.c
@@
-247,7
+247,7
@@
static void debug_init(void)
char *debug = NULL;
FILE *fp = NULL;
char *tmp = NULL;
- int open_flags = O_RDWR | O_CREAT | O_TRUNC;
+ int open_flags = O_RDWR | O_CREAT | O_TRUNC
| O_APPEND
;
if (nb_debug_options != -1) {
return; /* already initialized */