[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6339] global s/fflush(logfile)/qemu_log_flush()/ (Eduardo
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [6339] global s/fflush(logfile)/qemu_log_flush()/ (Eduardo Habkost) |
Date: |
Thu, 15 Jan 2009 22:35:10 +0000 |
Revision: 6339
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6339
Author: aliguori
Date: 2009-01-15 22:35:09 +0000 (Thu, 15 Jan 2009)
Log Message:
-----------
global s/fflush(logfile)/qemu_log_flush()/ (Eduardo Habkost)
Signed-off-by: Eduardo Habkost <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Modified Paths:
--------------
trunk/block-raw-posix.c
trunk/exec.c
trunk/translate-all.c
Modified: trunk/block-raw-posix.c
===================================================================
--- trunk/block-raw-posix.c 2009-01-15 22:34:14 UTC (rev 6338)
+++ trunk/block-raw-posix.c 2009-01-15 22:35:09 UTC (rev 6339)
@@ -68,7 +68,7 @@
//#define DEBUG_BLOCK
#if defined(DEBUG_BLOCK)
#define DEBUG_BLOCK_PRINT(formatCstr, args...) do { if (qemu_log_enabled())
\
- { qemu_log(formatCstr, ##args); fflush(logfile); } } while (0)
+ { qemu_log(formatCstr, ##args); qemu_log_flush(); } } while (0)
#else
#define DEBUG_BLOCK_PRINT(formatCstr, args...)
#endif
Modified: trunk/exec.c
===================================================================
--- trunk/exec.c 2009-01-15 22:34:14 UTC (rev 6338)
+++ trunk/exec.c 2009-01-15 22:35:09 UTC (rev 6339)
@@ -1641,7 +1641,7 @@
#else
log_cpu_state(env, 0);
#endif
- fflush(logfile);
+ qemu_log_flush();
qemu_log_close();
}
va_end(ap2);
Modified: trunk/translate-all.c
===================================================================
--- trunk/translate-all.c 2009-01-15 22:34:14 UTC (rev 6338)
+++ trunk/translate-all.c 2009-01-15 22:35:09 UTC (rev 6339)
@@ -131,7 +131,7 @@
qemu_log("OUT: [size=%d]\n", *gen_code_size_ptr);
log_disas(tb->tc_ptr, *gen_code_size_ptr);
qemu_log("\n");
- fflush(logfile);
+ qemu_log_flush();
}
#endif
return 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6339] global s/fflush(logfile)/qemu_log_flush()/ (Eduardo Habkost),
Anthony Liguori <=