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: 25 Feb 2005 22:31:21 -0000
- Subject: src/newlib ChangeLog libc/include/time.h libc/ ...
CVSROOT: /cvs/src
Module name: src
Changes by: jjohnstn@sourceware.org 2005-02-25 22:31:21
Modified files:
newlib : ChangeLog
newlib/libc/include: time.h
newlib/libc/sys/linux/include: time.h
newlib/libc/time: gettzinfo.c mktime.c mktm_r.c strftime.c
Log message:
2005-02-25 Eric Blake <ebb9@byu.net>
* libc/include/time.h (__tzrule_struct): Make offset long, since
a 16-bit int overflows on a 12-hour offset.
* libc/sys/linux/include/time.h: Ditto.
* libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
* libc/time/mktm_r.c: Ditto.
* libc/time/gettzinfo.c: Ditto.
* libc/time/strftime.c (strftime): Fix '%x' to deal with negative
years. Fix '%z' to use long, not int.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.759&r2=1.760
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/time.h.diff?cvsroot=src&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/sys/linux/include/time.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/gettzinfo.c.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.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/mktm_r.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/time/strftime.c.diff?cvsroot=src&r1=1.9&r2=1.10