changeset 89309:166a8c60dd25

(Flanginfo): Call synchronize_system_time_locale.
author Dave Love <fx@gnu.org>
date Tue, 26 Nov 2002 17:46:02 +0000
parents 1741217e380c
children 1db8bb8b5872
files src/fns.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Thu Nov 07 20:26:51 2002 +0000
+++ b/src/fns.c	Tue Nov 26 17:46:02 2002 +0000
@@ -2801,6 +2801,7 @@
       Lisp_Object v = Fmake_vector (make_number (7), Qnil);
       int days[7] = {DAY_1, DAY_2, DAY_3, DAY_4, DAY_5, DAY_6, DAY_7};
       int i;
+      synchronize_system_time_locale ();
       for (i = 0; i < 7; i++)
 	{
 	  str = nl_langinfo (days[i]);
@@ -2818,6 +2819,7 @@
       int months[12] = {MON_1, MON_2, MON_3, MON_4, MON_5, MON_6, MON_7,
 			MON_8, MON_9, MON_10, MON_11, MON_12};
       int i;
+      synchronize_system_time_locale ();
       for (i = 0; i < 12; i++)
 	{
 	  str = nl_langinfo (months[i]);