This is the mail archive of the
newlib-cvs@sources.redhat.com
mailing list for the newlib project.
src/newlib ChangeLog libc/include/time.h libc/ ...
- From: jjohnstn at sourceware dot org
- To: newlib-cvs at sources dot redhat dot com
- Date: 23 Feb 2005 19:08:58 -0000
- Subject: src/newlib ChangeLog libc/include/time.h libc/ ...
CVSROOT: /cvs/src
Module name: src
Changes by: jjohnstn@sourceware.org 2005-02-23 19:08:58
Modified files:
newlib : ChangeLog
newlib/libc/include: time.h
newlib/libc/sys/linux/include: time.h
newlib/libc/time: Makefile.am Makefile.in local.h mktime.c
mktm_r.c strftime.c tzset_r.c
Added files:
newlib/libc/time: gettzinfo.c
Log message:
2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/time.h [!CYGWIN](_timezone): Change to long.
(__tzrule_type, __tzinfo_type): New types.
(__gettzinfo): New function.
* libc/sys/linux/include/time.h: Ditto.
* libc/time/Makefile.am: Add gettzinfo.c.
* libc/time/Makefile.in: Regenerated.
* libc/time/local.h: Moved __tzrule_type to time.h.
* libc/time/mktime.c: Call __gettzinfo to reference
__tznorth, __tzyear, and __tzrule array.
* libc/time/mktm_r.c: Ditto.
* libc/time/strftime.c: Ditto.
* libc/time/tzset_r.c: Ditto. Also remove definition
of __tzrule which is now in gettzinfo.c. Change _timezone
references to not cast to time_t.
* libc/time/gettzinfo.c: New file.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.755&r2=1.756
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/time.h.diff?cvsroot=src&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/sys/linux/include/time.h.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/gettzinfo.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/Makefile.am.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/Makefile.in.diff?cvsroot=src&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/local.h.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/mktime.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/mktm_r.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/strftime.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/tzset_r.c.diff?cvsroot=src&r1=1.6&r2=1.7