Raymond Toy pushed to branch issue-408-get-user-name-and-homedir at cmucl / cmucl Commits: ee5676a5 by Raymond Toy at 2025-11-10T08:53:26-08:00 Address more review comments Rename `os_get_username` to `os_get_user_name`. Remove on extraneous newline at the ned of os-common.c - - - - - 2 changed files: - src/code/unix.lisp - src/lisp/os-common.c Changes: ===================================== src/code/unix.lisp ===================================== @@ -2552,7 +2552,7 @@ (progn (setf result (alien-funcall - (extern-alien "os_get_username" + (extern-alien "os_get_user_name" (function (* c-call:c-string) uid-t (* c-call:int))) ===================================== src/lisp/os-common.c ===================================== @@ -779,7 +779,7 @@ again: * returned. */ char * -os_get_username(uid_t uid, int *status) +os_get_user_name(uid_t uid, int *status) { char *buf; char *name; @@ -821,7 +821,7 @@ os_file_author(const char *path) return NULL; } - return os_get_username(sb.st_uid, &status); + return os_get_user_name(sb.st_uid, &status); } int @@ -1037,4 +1037,3 @@ os_getcwd(void) { return getcwd(NULL, 0); } - View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/ee5676a5bfbaec3699fd353b... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/ee5676a5bfbaec3699fd353b... You're receiving this email because of your account on gitlab.common-lisp.net.