[Git][cmucl/cmucl][issue-373-handle-temp-files] Fix a typo and use exported symbols

Raymond Toy pushed to branch issue-373-handle-temp-files at cmucl / cmucl Commits: 087eb17f by Raymond Toy at 2025-02-21T17:54:57-08:00 Fix a typo and use exported symbols Fix a typo in a comment in os_temp_path. `with-temporary-stream` is an exported symbol, so just use "ext:" insteadof "ext::". [SKIP-CI] - - - - - 2 changed files: - src/lisp/os-common.c - tests/trac.lisp Changes: ===================================== src/lisp/os-common.c ===================================== @@ -945,7 +945,7 @@ os_get_user_homedir(const char* name, int *status) * returned, such a location could not be found or some other error * happened. * - * Caller must call free(0 on the string returned. + * Caller must call free() on the string returned. */ char * os_temp_path() ===================================== tests/trac.lisp ===================================== @@ -127,9 +127,8 @@ (define-test trac.36 (:tag :trac) (flet ((bug (&optional (format :utf16)) - (ext::with-temporary-stream (s :direction :io :external-format format) + (ext:with-temporary-stream (s :direction :io :external-format format) (format s "Hello~%") - (format t "posn = ~A~%" (file-position s)) (file-position s 0) (let ((ch (read-char s))) (values ch (file-position s)))))) View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/087eb17fc9bd72d49b43e530... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/087eb17fc9bd72d49b43e530... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)