Import most recent NetBSD localtime.c, private.h, and tzfile.h. An
empty namespace.h suffices for Cygwin.
---
winsup/cygwin/tzcode/localtime.c | 2493 ++
winsup/cygwin/tzcode/namespace.h |0
winsup/cygwin/tzcode/private.h | 795 ++
Modifies winsup/cygwin/Makefile.in to build localtime.o from items in
new winsup/cygwin/tzcode subdirectory. Compiler option "-fpermissive"
is used to accept warnings about missing casts on the return values of
malloc() calls. This patch also removes existing localtime.cc and
tz_posixrules.h
Add tz_posixrules.h with data generated from most recent Cygwin tzdata
package. Establish localtime.cc as primarily a wrapper around a patched
copy of localtime.c. See README for more information.
---
winsup/cygwin/tzcode/README| 37
winsup/cygwin/tzcode/localtime.c.patch |
This is v3 of this patch set incorporating review comments on v2. I've
minimized the size of the localtime.c.patch file by beefing up #defines
in the wrapper localtime.cc. I believe I've addressed all comments.
This patch set has been tested on both 64- and 32-bit Cygwin. The
initial shell
On 5/19/2020 10:07 AM, Takashi Yano wrote:
On Tue, 19 May 2020 09:37:17 -0400
Ken Brown via Cygwin-patches wrote:
On 5/19/2020 8:51 AM, Ken Brown via Cygwin-patches wrote:
On 5/19/2020 2:15 AM, Takashi Yano via Cygwin-patches wrote:
On Tue, 19 May 2020 10:26:09 +0900
Takashi Yano via