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

Unified Diff: tests/create_compress_files.c

Issue 12568011: Update XZ Utils to 5.0.4 (third_party) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/xz/
Patch Set: Created 7 years, 9 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
« README.chromium ('K') | « tests/Makefile.am ('k') | tests/files/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/create_compress_files.c
===================================================================
--- tests/create_compress_files.c (revision 87706)
+++ tests/create_compress_files.c (working copy)
@@ -79,7 +79,8 @@
write_abc(FILE *file)
{
for (size_t i = 0; i < 12345; ++i)
- fwrite("abc\n", 4, 1, file);
+ if (fwrite("abc\n", 4, 1, file) != 1)
+ exit(1);
}
« README.chromium ('K') | « tests/Makefile.am ('k') | tests/files/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698