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

Unified Diff: src/platform/update_engine/decompressing_file_writer.cc

Issue 1800009: AU: SplitWriter class for parsing our full update files. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 8 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
Index: src/platform/update_engine/decompressing_file_writer.cc
diff --git a/src/platform/update_engine/decompressing_file_writer.cc b/src/platform/update_engine/decompressing_file_writer.cc
old mode 100644
new mode 100755
index 96db0100b18dbab125b4cd8a66f8f14ed20e8fa1..0a3280de0004b0715e310583281930ef9889845a
--- a/src/platform/update_engine/decompressing_file_writer.cc
+++ b/src/platform/update_engine/decompressing_file_writer.cc
@@ -27,7 +27,7 @@ namespace chromeos_update_engine {
// uLong reserved; /* reserved for future use */
// } z_stream;
-int GzipDecompressingFileWriter::Write(const void* bytes, size_t count) {
+ssize_t GzipDecompressingFileWriter::Write(const void* bytes, size_t count) {
// Steps:
// put the data on next_in
// call inflate until it returns nothing, each time writing what we get
« no previous file with comments | « src/platform/update_engine/decompressing_file_writer.h ('k') | src/platform/update_engine/delta_performer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698