commit beccb4c6b92d4442e9f3034d897ddc4be6389e53
parent e9e729bfa6a766fd422dcf6f676147059b634820
Author: Alexey Yerin <yyp@disroot.org>
Date: Mon, 21 Feb 2022 21:22:04 +0300
os+freebsd: remove os:: namespace from getcwd call
Necessary after c00565ef@harec[0]
[0]: https://git.sr.ht/~sircmpwn/harec/commit/c00565ef073690cf14fe1aa89bd8565abe521749
Signed-off-by: Alexey Yerin <yyp@disroot.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/+freebsd/dirfdfs.ha b/os/+freebsd/dirfdfs.ha
@@ -342,7 +342,7 @@ fn fs_resolve(fs: *fs::fs, path: str) str = {
};
// XXX: This approach might not be right if this fs is based on a subdir
static let buf = path::buffer { ... };
- path::set(&buf, os::getcwd(), path)!;
+ path::set(&buf, getcwd(), path)!;
return path::string(&buf);
};