Update wasmtime-wasi-c to cloudabi-utils 223dadc5.

We already had a forward-port of d5abd351d, so this just contains a
minor and unobservable bug fix.
This commit is contained in:
Dan Gohman
2019-07-03 07:55:32 -07:00
committed by Jakub Konka
parent 1a10f4a002
commit 9d91a937dc
2 changed files with 3 additions and 3 deletions

View File

@@ -1880,7 +1880,7 @@ __wasi_errno_t wasmtime_ssp_fd_readdir(
}
*bufused = 0;
while (nbyte > 0) {
while (*bufused < nbyte) {
// Read the next directory entry.
errno = 0;
struct dirent *de = readdir(dp);