[Git][cmucl/cmucl][issue-365-add-strerror] get-unix-error-msg calls unix-strerror
Raymond Toy pushed to branch issue-365-add-strerror at cmucl / cmucl Commits: c8e3b367 by Raymond Toy at 2025-01-08T09:21:59-08:00 get-unix-error-msg calls unix-strerror - - - - - 1 changed file: - src/code/unix.lisp Changes: ===================================== src/code/unix.lisp ===================================== @@ -2053,9 +2053,7 @@ _N"Returns a string describing the error number which was returned by a UNIX system call." (declare (type integer error-number)) - (if (array-in-bounds-p *unix-errors* error-number) - (svref *unix-errors* error-number) - (format nil _"Unknown error [~d]" error-number))) + (unix::unix-strerror error-number)) ;;;; Lisp types used by syscalls. View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/c8e3b367dc215677f8e4453d... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/c8e3b367dc215677f8e4453d... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)