From b48327d357e0818d1a6ae2a064cfa7d1567e1242 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sun, 5 Dec 2021 15:17:44 -0800 Subject: feat(huge): huge refactor (in progress). Commented out libc includes to uncover all explicit dependencies. A large fraction has now been ported over (no testing). I did not port over the command line tools, such as the rc shell. These will be done independently - as of now I just want the library to stand independent. Compilation currently fails due to the lack of math functions. --- src/base/gz/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/gz') diff --git a/src/base/gz/read.c b/src/base/gz/read.c index 112fe4d..0a91f2f 100644 --- a/src/base/gz/read.c +++ b/src/base/gz/read.c @@ -12,5 +12,5 @@ gz·readln(gz·Stream *s, int n, byte *buf) byte* b; b = gzgets(s, buf, n); - return strlen(b); + return str·len(b); } -- cgit v1.2.1