aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index da8889e70a7..6e6b9332942 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2818,7 +2818,7 @@ The data read from the system are decoded using `locale-coding-system'. */)
2818 for (i = 0; i < 7; i++) 2818 for (i = 0; i < 7; i++)
2819 { 2819 {
2820 str = nl_langinfo (days[i]); 2820 str = nl_langinfo (days[i]);
2821 val = make_unibyte_string (str, strlen (str)); 2821 val = build_unibyte_string (str);
2822 /* Fixme: Is this coding system necessarily right, even if 2822 /* Fixme: Is this coding system necessarily right, even if
2823 it is consistent with CODESET? If not, what to do? */ 2823 it is consistent with CODESET? If not, what to do? */
2824 Faset (v, make_number (i), 2824 Faset (v, make_number (i),
@@ -2842,7 +2842,7 @@ The data read from the system are decoded using `locale-coding-system'. */)
2842 for (i = 0; i < 12; i++) 2842 for (i = 0; i < 12; i++)
2843 { 2843 {
2844 str = nl_langinfo (months[i]); 2844 str = nl_langinfo (months[i]);
2845 val = make_unibyte_string (str, strlen (str)); 2845 val = build_unibyte_string (str);
2846 Faset (v, make_number (i), 2846 Faset (v, make_number (i),
2847 code_convert_string_norecord (val, Vlocale_coding_system, 0)); 2847 code_convert_string_norecord (val, Vlocale_coding_system, 0));
2848 } 2848 }