Raymond Toy pushed to branch issue-408-get-user-name-and-homedir at cmucl / cmucl Commits: 95c50a36 by Raymond Toy at 2025-11-13T08:49:14-08:00 Address review comments Rename get_homedir_from_name to get_homedir_by_user_name and get_homedir_from_uid by get_homedir_by_uid. - - - - - 1 changed file: - src/lisp/os-common.c Changes: ===================================== src/lisp/os-common.c ===================================== @@ -911,7 +911,7 @@ os_software_version(void) } static char * -get_homedir_from_name(const char* name, int *status) +get_homedir_by_user_name(const char* name, int *status) { int buflen; char *buf = NULL; @@ -981,7 +981,7 @@ get_homedir_from_name(const char* name, int *status) * The caller must free the memory returned. */ static char * -get_homedir_from_uid(uid_t uid, int *status) +get_homedir_by_uid(uid_t uid, int *status) { char buffer[1024]; char *buf; @@ -1021,10 +1021,10 @@ char * os_get_user_homedir(const char* name, int *status) { if (strlen(name) == 0) { - return get_homedir_from_uid(getuid(), status); + return get_homedir_by_uid(getuid(), status); } - return get_homedir_from_name(name, status); + return get_homedir_by_user_name(name, status); } View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/95c50a3684f31eb4b18bba62... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/95c50a3684f31eb4b18bba62... You're receiving this email because of your account on gitlab.common-lisp.net.