Skip to content

Commit 4fe244c

Browse files
committed
Updated comments
Signed-off-by: Stephen Berard <stephen.berard@outlook.com>
1 parent 00b753c commit 4fe244c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

core/shared/platform/zephyr/zephyr_file.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ os_writev(os_file_handle handle, const struct __wasi_ciovec_t *iov, int iovcnt,
636636

637637
// If the fd is stdout or stderr, we call fwrite
638638
if (strncmp(ptr->path, "std", 3) == 0) {
639-
// SRB -- FIX if ((handle->fd == STDOUT_FILENO) || (handle->fd ==
639+
// TODO -- FIX: if ((handle->fd == STDOUT_FILENO) || (handle->fd ==
640640
// STDERR_FILENO)) {
641641
FILE *fd = stdout;
642642
if (handle->fd == STDERR_FILENO) {
@@ -659,9 +659,6 @@ os_writev(os_file_handle handle, const struct __wasi_ciovec_t *iov, int iovcnt,
659659
}
660660
}
661661
else {
662-
// SRB struct zephyr_fs_desc *ptr = NULL;
663-
// SRB GET_FILE_SYSTEM_DESCRIPTOR(handle->fd, ptr);
664-
665662
// Write data from each buffer
666663
for (int i = 0; i < iovcnt; i++) {
667664
ssize_t bytes_written =

0 commit comments

Comments
 (0)