We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25b9f46 commit 30756b3Copy full SHA for 30756b3
1 file changed
libc-bottom-half/cloudlibc/src/libc/unistd/write.c
@@ -88,6 +88,7 @@ ssize_t write(int fildes, const void *buf, size_t nbyte) {
88
return amount;
89
} else {
90
wasip3_subtask_block_on(write_end->subtask);
91
+ write_end->subtask = WASIP3_SUBTASK_RETURNED;
92
if (write_end->pending_result.is_err) {
93
translate_error(write_end->pending_result.val.err);
94
return -1;
0 commit comments