New upstream version 25.0.3+dfsg1
This commit is contained in:
parent
04fe0efc67
commit
8b2e5f2130
569 changed files with 62491 additions and 5875 deletions
|
|
@ -93,5 +93,12 @@ size_t os_process_pipe_write(os_process_pipe_t *pp, const uint8_t *data,
|
|||
return 0;
|
||||
}
|
||||
|
||||
return fwrite(data, 1, len, pp->file);
|
||||
size_t written = 0;
|
||||
while (written < len) {
|
||||
size_t ret = fwrite(data + written, 1, len - written, pp->file);
|
||||
if (!ret)
|
||||
return written;
|
||||
written += ret;
|
||||
}
|
||||
return written;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue