Commit b6e9ee24 authored by Natanael Copa's avatar Natanael Copa

abuild-tar: fix for full_read(), full_write()

parent be9fa503
......@@ -115,6 +115,7 @@ static ssize_t full_read(int fd, void *buf, size_t count)
if (n <= 0)
break;
buf += n;
total += n;
count -= n;
} while (1);
......@@ -136,6 +137,7 @@ static ssize_t full_write(int fd, const void *buf, size_t count)
if (n <= 0)
break;
buf += n;
total += n;
count -= n;
} while (1);
......
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