From 02f3349cb143abad8d67ad15017e5d26834eb5f1 Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Fri, 10 May 2019 10:58:06 -0700 Subject: [PATCH] clean up, update changelog --- CHANGELOG.md | 1 + lib/wasi/src/syscalls/mod.rs | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3f8313136f..3e759f960e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Blocks of changes will separated by version increments. ## **[Unreleased]** +- [#429](https://github.com/wasmerio/wasmer/pull/429) Get wasi::path_filestat_get working for some programs; misc. minor WASI FS improvements - [#413](https://github.com/wasmerio/wasmer/pull/413) Update LLVM backend to use new parser codegen traits ## 0.4.1 - 2018-05-06 diff --git a/lib/wasi/src/syscalls/mod.rs b/lib/wasi/src/syscalls/mod.rs index 3fce35916dd..0389273fc91 100644 --- a/lib/wasi/src/syscalls/mod.rs +++ b/lib/wasi/src/syscalls/mod.rs @@ -1111,15 +1111,12 @@ pub fn path_filestat_get( } else { // lazily load debug!("Lazily loading entry {:?}", &segment); - debug!("EEE"); let path_metadata = wasi_try!(cumulative_path.metadata().map_err(|_| __WASI_ENOENT)); - debug!("DDD"); if !path_metadata.is_dir() { // TODO: should this just return invalid arg? return __WASI_ENOTDIR; } - debug!("AAA"); let kind = Kind::Dir { path: std::path::PathBuf::from(&segment), entries: Default::default(),