acadia-newlib/newlib/libc/time
Corinna Vinschen be7f7a7503 * libc/time/strftime.c: Add support for era and alt_digits data from
LC_TIME locale category.  Conditionalize using _WANT_C99_TIME_FORMATS
	flag.
	(STRTOUL): Define differently for building strftime or wcsftime.
	(STRCPY): Ditto.
	(STRCHR): Ditto.
	(STRLEN): Ditto.
	(CHECK_LENGTH): Define to simplify code.
	(era_info_t): New type to store era info.
	(get_era_info): New function to fetch era info matching incoming
	struct tm.
	(free_era_info): New function to free era info.
	(alt_digits_t): New type to store alternative digits.
	(get_alt_digits): New function to convert alt_digits string into
	alt_digits_t structure.
	(free_alt_digits): New function to free alt_digits info.
	(conv_to_alt_digits): New function to convert unsigned value into
	alternative digits.
	(strftime): Conditionalize on _WANT_C99_TIME_FORMATS.  If
	_WANT_C99_TIME_FORMATS is defined, define as just a wrapper function
	providing era_info and alt_digits pointers and call ...
	(__strftime): Rename from strftime and make static if
	_WANT_C99_TIME_FORMATS is defined.  Add parameters for era_info and
	alt_digits pointers.  Handle conversion modifiers according to
	POSIX-1.2008.  Redefine %F and %Y according to POSIX.  Add default case
	to allow to bail out on invalid conversion specifiers.
	* libc/include/sys/config.h: Move Cygwin build flags to Cygwin's
	config.h.

	* libc/include/stdio.h: Remove __CYGWIN_USE_BIG_TYPES__ condition.
2010-02-26 09:41:44 +00:00
..
Makefile.am * libc/time/strftime.c: Adapt for dual-purpose use so not only 2009-03-09 12:35:03 +00:00
Makefile.in 2010-02-24 Charles Wilson <...> 2010-02-24 21:00:08 +00:00
asctime.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
asctime_r.c Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru> 2000-05-10 17:58:29 +00:00
clock.c * libc/time/clock.c: Clarify documentation of return value when no measurement 2003-10-14 17:41:30 +00:00
ctime.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
ctime_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
difftime.c 2003-01-21 Anita Kulkarni <anitak@kpit.com> 2003-01-21 19:37:04 +00:00
gettzinfo.c 2005-02-25 Eric Blake <ebb9@byu.net> 2005-02-25 22:31:21 +00:00
gmtime.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
gmtime_r.c 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> 2002-04-17 21:23:31 +00:00
lcltime.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
lcltime_r.c 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> 2002-04-17 21:23:31 +00:00
local.h 2005-02-23 Jeff Johnston <jjohnstn@redhat.com> 2005-02-23 19:08:58 +00:00
mktime.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
mktm_r.c 2005-02-25 Eric Blake <ebb9@byu.net> 2005-02-25 22:31:21 +00:00
strftime.c * libc/time/strftime.c: Add support for era and alt_digits data from 2010-02-26 09:41:44 +00:00
strptime.c * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
time.c 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 16:56:30 +00:00
time.tex * libc/time/strftime.c: Adapt for dual-purpose use so not only 2009-03-09 12:35:03 +00:00
tzlock.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
tzset.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
tzset_r.c 2008-10-06 Craig Howland <howland@LGSInnovations.com> 2008-10-06 19:21:29 +00:00
tzvars.c 2005-11-08 Tom Walsh <tom@openhardware.net> 2005-11-08 22:44:16 +00:00
wcsftime.c * libc/time/time.tex (wcsftime.def): Include. 2009-03-12 15:34:57 +00:00