Commit 18233a17 authored by Wayne Davison's avatar Wayne Davison

Only sparse_files > 0 now indicates option is enabled.

parent 283887d7
......@@ -107,7 +107,7 @@ int write_file(int f,char *buf,size_t len)
while (len > 0) {
int r1;
if (sparse_files) {
if (sparse_files > 0) {
int len1 = MIN(len, SPARSE_WRITE_SIZE);
r1 = write_sparse(f, buf, len1);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment