View | Details | Raw Unified | Return to bug 10871 | Differences between
and this patch

Collapse All | Expand All

(-)a/locale/programs/ld-time.c (-1 / +8 lines)
Lines 960-965 time_read (struct linereader *ldfile, struct localedef_t *result, Link Here
960
	    lr_error (ldfile, _("\
960
	    lr_error (ldfile, _("\
961
%1$s: definition does not end with `END %1$s'"), "LC_TIME");
961
%1$s: definition does not end with `END %1$s'"), "LC_TIME");
962
	  lr_ignore_rest (ldfile, now->tok == tok_lc_time);
962
	  lr_ignore_rest (ldfile, now->tok == tok_lc_time);
963
964
	  /* If alt_mon is missing then let it be a copy of mon.  */
965
	  if (!ignore_content && !time->alt_mon_defined)
966
	    {
967
	      memcpy (time->alt_mon, time->mon, sizeof (time->mon));
968
	      memcpy (time->walt_mon, time->wmon, sizeof (time->wmon));
969
	      time->alt_mon_defined = 1;
970
	    }
963
	  return;
971
	  return;
964
972
965
	default:
973
	default:
966
- 

Return to bug 10871