This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: mktime.c patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]