uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit cdf05d40304541cdfd5d441ccb93c6fd83037fe9
parent eea4a5a3db90824e864c4b575181d47cdf1f76c4
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Mon, 30 Jun 2025 18:29:58 -0700

Remove a couple of outdated comments

Diffstat:
Msrc/devices/file.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/devices/file.c b/src/devices/file.c @@ -140,20 +140,18 @@ retry_realpath(const char *file_name) return NULL; } if(notdriveroot(file_name)) { - /* TODO: use a macro instead of '/' for absolute path first character so that other systems can work */ - /* if a relative path, prepend cwd */ getcwd(p, sizeof(p)); if(strlen(p) + strlen(DIR_SEP_STR) + fnlen >= PATH_MAX) { errno = ENAMETOOLONG; return NULL; } - strcat(p, DIR_SEP_STR); /* TODO: use a macro instead of '/' for the path delimiter */ + strcat(p, DIR_SEP_STR); } strcat(p, file_name); while((r = realpath(p, NULL)) == NULL) { if(errno != ENOENT) return NULL; - x = strrchr(p, DIR_SEP_CHAR); /* TODO: path delimiter macro */ + x = strrchr(p, DIR_SEP_CHAR); if(x) *x = '\0'; else