newlib-cygwin/winsup/cygwin/libc
Corinna Vinschen 75bd77d246 * libc/strptime.cc: Implement support for era, alt_digits and POSIX
padding and width modifiers.
	(era_info_t): New type.
	(free_era_info): New static function to free era_info_t storage.
	(get_era_info): New static function to create era_info_t storage
	from LC_TIME era information.
	(alt_digits_t): New type.
	(get_alt_digits): New static function to create alt_digits_t storage
	from LC_TIME alt_digits information.
	(free_alt_digits): New static function to free alt_digits_t storage.
	(find_alt_digits): New static function to scan input for alternative
	digits and return them, if any.  Return NULL otherwise.
	(__strptime): New static function taking all code from strptime.
	Implement handling for E, O, +, 0, and width modifiers per POSIX-1.2008.
	(strptime): Convert into wrapper function to provide era_info and
	alt_digits pointers and call __strptime.
	(conv_num): Take additional alt_digits_t parameter and if it's not
	NULL, call find_alt_digits to convert.
2010-02-26 17:53:52 +00:00
..
bsdlib.cc Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
fnmatch.c * libc/fnmatch.c: Replace with multibyte capable version from FreeBSD. 2010-01-16 15:11:56 +00:00
fts.c * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
ftw.c * libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility. 2008-02-10 15:19:08 +00:00
getopt.c * libc/getopt.c (getopt_internal): Set optreset according to optind 2009-12-14 10:47:25 +00:00
inet_addr.c * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
inet_network.c * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
minires-os-if.c Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
minires.c * libc/minires.c (scanline): Fix type in calls to ctype functions 2009-05-06 12:03:34 +00:00
minires.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
nftw.c * libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility. 2008-02-10 15:19:08 +00:00
rcmd.cc * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
rexec.cc * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
strfmon.c * libc/strfmon.c (__setup_vars): Test for an empty string rather than 2010-01-29 19:38:22 +00:00
strptime.cc * libc/strptime.cc: Implement support for era, alt_digits and POSIX 2010-02-26 17:53:52 +00:00
xsique.cc Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00