commit cdb977f8e72a8bf951b156434e7ca5ec5e065ba4
parent 95768c62d4e6a041f6a4dd7f21f2603b8108e506
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 7 Jan 2022 13:17:42 +0100
pwd: add TODO comment
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pwd.ha b/pwd.ha
@@ -48,6 +48,7 @@ export fn utilmain() (main::error | void) = {
// Reads all links in a path. The caller must free the return value.
fn resolvelinks(path: str) (str | fs::error) = {
+ // TODO: Rewrite me after https://todo.sr.ht/~sircmpwn/hare/426
let path = strings::dup(path);
defer free(path);
let parts: []str = [];