This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: mktime.c patch
- To: Peter Vermaas <Peter dot Vermaas at dejongduke dot nl>
- Subject: Re: mktime.c patch
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Wed, 07 Mar 2001 12:17:01 -0500
- CC: newlib at sources dot redhat dot com, Eric Harbers <Harbers at jmdejong dot nl>
- Organization: Red Hat Inc.
- References: <004901c0a6f9$036608e0$0401a8c0@jmdejong.nl>
Peter Vermaas wrote:
>
> Please consider this patch. The patched line had problems with a
> microcontroller which has only 16 bit integers. You can imagine the problem
> I think (23 * 3600 = 82800).
>
> I checked version 1.9.0 but the problem is still in there.
>
> Regards,
>
> Peter Vermaas
>
> ----------------------------------------------------------------------------------------------------
> Name: mktime.patch
> mktime.patch Type: unspecified type (application/octet-stream)
> Encoding: quoted-printable
Peter,
I checked in a patch on Monday Mar 5th which should accomplish the same thing. I added the 'L'
suffix to the _SEC_IN_xxxx constants. I see that I did not post anything to this list on the
matter.
You can examine/get the patch and others made to the current sources by going to the cvs web
archives:
http://sources.redhat.com/ml/newlib-cvs/
Note that 1.9.0 was a snapshot of the current sources and new changes are made to the current
sources in CVS. See the web pages for details on checking out the current sources via CVS or
subscribing to the CVS mailing list which will notify you whenever patches are made.
The following is the ChangeLog entry for the mktime change as well as another change I made
without posting to the list.
2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
of strtok_r is always defined.
-- Jeff J.