[Git][cmucl/cmucl][issue-139-add-alias-local-external-format] Don't need to call setlocale in os_get_locale_codeset.
Raymond Toy (@rtoy)
gitlab at common-lisp.net
Thu Nov 3 14:17:24 UTC 2022
Raymond Toy pushed to branch issue-139-add-alias-local-external-format at cmucl / cmucl
Commits:
f45d931f by Raymond Toy at 2022-11-03T07:17:13-07:00
Don't need to call setlocale in os_get_locale_codeset.
setlocale is called separately during startup, so no need to have it
here.
- - - - -
1 changed file:
- src/lisp/os-common.c
Changes:
=====================================
src/lisp/os-common.c
=====================================
@@ -790,8 +790,6 @@ os_get_locale_codeset(char* codeset, int len)
{
char *code;
- setlocale(LC_ALL, "");
-
code = nl_langinfo(CODESET);
strncpy(codeset, code, len);
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/f45d931fc9cc9e8b062847eadec03b1c85c25f0a
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/f45d931fc9cc9e8b062847eadec03b1c85c25f0a
You're receiving this email because of your account on gitlab.common-lisp.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20221103/39b9a140/attachment.html>
More information about the cmucl-cvs
mailing list