logo

deblob

remove binary executables from a directory git clone https://hacktivis.me/git/deblob.git
commit: 2723c4180621625d55b6d00e89be2dddeed69e27
parent a83efc1c2afb88e21c54fd90d4191bb000191359
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  2 Dec 2023 04:19:35 +0100

os::readdir no longer includes . and ..

Diffstat:

Mmain.ha4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.ha b/main.ha @@ -283,7 +283,7 @@ fn check_dir(dirname: str) (void | errors::invalid) = { case let e: fs::error => fmt::fatalf("os::readdir({}): {}", dirname, fs::strerror(e)); }; - assert(len(files_before) == 57); + assert(len(files_before) == 55); const ret = check_dir(dirname); assert(ret is void); @@ -294,7 +294,7 @@ fn check_dir(dirname: str) (void | errors::invalid) = { case let e: fs::error => fmt::fatalf("os::readdir({}): {}", dirname, fs::strerror(e)); }; - assert(len(files_after) == 30); + assert(len(files_after) == 28); }; export fn main() void = {