(svn r24432) -Fix: compile warning in depend

pull/155/head
rubidium 12 years ago
parent 3fc0196951
commit c32b56a6d4

@ -922,7 +922,10 @@ int main(int argc, char *argv[])
if (size != 0) {
src = fopen(backup, "wb");
fwrite(content, 1, size, src);
if (fwrite(content, 1, size, src) != (size_t)size) {
fprintf(stderr, "Could not write %s\n", filename);
exit(-2);
}
fclose(src);
/* Then append it to the real file. */

Loading…
Cancel
Save