src/newlib ChangeLog libc/time/Makefile.am lib ...

jjohnstn@sourceware.org jjohnstn@sourceware.org
Thu Sep 11 21:55:00 GMT 2014


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jjohnstn@sourceware.org	2014-09-11 21:55:01

Modified files:
	newlib         : ChangeLog 
	newlib/libc/time: Makefile.am Makefile.in gmtime_r.c lcltime_r.c 
	                  local.h 
Removed files:
	newlib/libc/time: mktm_r.c 

Log message:
	2014-09-11  Freddie Chopin  <freddie_chopin@op.pl>
	
	* libc/time/month_lengths.c: New file with __month_lengths array
	(previously mon_lengths array in mktm_r.c)
	* libc/time/tzcalc_limits.c: New file with __tzcalc_limits() from
	mktm_r.c
	* libc/time/lcltime_r.c (localtime_r): Simplify by changing call to
	_mktm_r() with call to gmtime_r() and code moved from _mktm_r() which
	was used to do time zone adjustments
	* libc/time/gmtime_r.c (gmtime_r): Simplify by moving all relevant
	code from _mktm_r(), breaking all dependencies on time zone related
	functions
	* libc/time/mktm_r.c: Delete file
	* libc/time/local.h: Update accordingly - remove declaration of
	_mktm_r(), add declaration of __month_lengths[]
	* libc/time/Makefile.am: Modify accordingly.
	* libc/time/Makefile.in: Regenerate.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1952&r2=1.1953
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/time/Makefile.am.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/time/Makefile.in.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/time/gmtime_r.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/time/lcltime_r.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/time/local.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/time/mktm_r.c.diff?cvsroot=src&r1=1.8&r2=NONE



More information about the Newlib-cvs mailing list