Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: src/log.cc

Issue 27325: Push bleeding_edge@1391 and bleeding_edge@1392 to trunk. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/regexp-delay.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.cc
===================================================================
--- src/log.cc (revision 1393)
+++ src/log.cc (working copy)
@@ -386,7 +386,9 @@
// Write the log message to the log file currently opened.
void LogMessageBuilder::WriteToLogFile() {
ASSERT(pos_ <= Logger::kMessageBufferSize);
- fwrite(Logger::message_buffer_, 1, pos_, Logger::logfile_);
+ size_t rv = fwrite(Logger::message_buffer_, 1, pos_, Logger::logfile_);
+ ASSERT(rv == static_cast<size_t>(pos_));
+ USE(rv);
}
#endif
« no previous file with comments | « src/api.cc ('k') | src/regexp-delay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698