Skip to content

Read directory bug ? #2889

@Userzxcvbvnm

Description

@Userzxcvbvnm

Steps to reproduce

There is a file Data/mydir/test.txt is in the path Data/mydir.
The test program is to print the files in the path Data/mydir.

The c file is uploaded as
readdir-c.txt

The wasm file is uploaded as
readdir-wasm.txt

Expected behavior

Print:

Successfully get the file fd.
.
..
test.txt

wasmer wasmtime wazero print the above message.

Actual behavior

WAMR prints:

Successfully get the file fd.
opendir.

WAMR print the content of Data/mydir fails.

Envrionment

Windows 10 (amd64)
WAMR-1.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions