From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6339] global s/fflush(logfile)/qemu_log_flush()/ (Eduardo Habkost)
Date: Thu, 15 Jan 2009 22:35:10 +0000 [thread overview]
Message-ID: <E1LNant-0002Qy-WC@cvs.savannah.gnu.org> (raw)
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 <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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;
reply other threads:[~2009-01-15 22:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1LNant-0002Qy-WC@cvs.savannah.gnu.org \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).