shithub: sl

Download patch

ref: a7ff734d7f982d0be0403e8e9c3a6aa8fd4e3ae1
parent: ba74a11881066a1ff0b2941707d7a73d45931916
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Jan 31 08:34:08 EST 2025

default to system's defined LC_CTYPE

--- a/src/dos/sys.c
+++ b/src/dos/sys.c
@@ -49,5 +49,6 @@
 main(int argc, char **argv)
 {
 	setlocale(LC_NUMERIC, "C");
+	setlocale(LC_CTYPE, "");
 	flmain(boot, sizeof(boot), argc, argv);
 }
--- a/src/posix/sys.c
+++ b/src/posix/sys.c
@@ -79,6 +79,7 @@
 main(int argc, char **argv)
 {
 	setlocale(LC_NUMERIC, "C");
+	setlocale(LC_CTYPE, "");
 	struct utsname u;
 	__os_version__[0] = 0;
 	if(uname(&u) == 0)