From 23ac1f4f98accc3bb84e81be264d8408be372028 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sun, 17 May 2020 18:28:05 -0700 Subject: fix: bugs associated to map reallocating --- sys/libn/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/libn/io.c') diff --git a/sys/libn/io.c b/sys/libn/io.c index 2852f42..08c29b0 100644 --- a/sys/libn/io.c +++ b/sys/libn/io.c @@ -25,7 +25,7 @@ io·stat(Stream *s, io·Stat *buf) int io·exists(byte *path, int flag) { - return access(path, flag); + return access(path, flag) == 0; } error -- cgit v1.2.1