From 7b6e89fc1550b1eb1e7e14627a7c4fc27d78dd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Mon, 31 Jan 2022 23:07:13 -0600 Subject: [PATCH] unix: comment with suggestions for future --- pkg/urbit/vere/io/unix.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/urbit/vere/io/unix.c b/pkg/urbit/vere/io/unix.c index 52c05ff03..ab90f35e6 100644 --- a/pkg/urbit/vere/io/unix.c +++ b/pkg/urbit/vere/io/unix.c @@ -267,10 +267,10 @@ _unix_mkdirp(c3_c* pax_c) /* u3_unix_save(): save file under .../.urb/put or bail. ** ** XX this is quite bad, and doesn't share much in common with -** the rest of unix.c. at minimum it should instead take pax as -** a noun and build the C path from that. it would also be nice -** if it could take a u3_udir or something corresponding to the -** base directory. +** the rest of unix.c. a refactor would probably share common +** logic with _unix_sync_change, perhaps using openat, making +** unx_u optional, and/or having a flag to not track the file +** for future changes. */ void u3_unix_save(c3_c* pax_c, u3_atom pad)