patch: strptime
J. Johnston
jjohnstn@redhat.com
Tue Apr 9 13:57:00 GMT 2002
Mark Bradshaw wrote:
>
> This is a resubmission of a Cygwin patch made a couple months back. Corinna
> asked that I move the strptime addition from cygwin over into newlib as a
> more logical location, but I forgot to do it til I was reminded recently.
> The previous patch was un-applied in Cygwin, but not in newlib, so this
> patch changes newlib's time.h to correct the previous patch.
>
> Corinna asked that the strptime stuff be put in strftime.c so that some
> constants weren't duplicated, but the organization just didn't make sense.
> I went ahead and kept it in a separate file.
>
> The original source for this comes from
> http://ftp.uninett.no/pub/OpenBSD/src/kerberosIV/src/lib/roken/strptime.c.
>
> ==================
>
> For newlib:
> 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
> * libc/include/time.h: Fix strptime declaration.
> * libc/time/Makefile.am: Add strptime.c and strptime.def.
> * libc/time/strptime.c: New file.
>
Newlib portion checked in. There is no .def to generate since you don't have the
proper type of comments in the file. I have also regenerated Makefile.in.
-- Jeff J.
> For cygwin:
> 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
>
> * cygwin.din: Add strptime.
> * include/cygwin/version.h: Increment minor version number.
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Name: newlib.diff
> newlib.diff Type: unspecified type (application/octet-stream)
> Encoding: quoted-printable
>
> Name: cygwin.diff
> cygwin.diff Type: unspecified type (application/octet-stream)
> Encoding: quoted-printable
More information about the Newlib
mailing list