public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
* tzcode resync
@ 2020-04-24 21:19 Yaakov Selkowitz
  2020-04-27  8:51 ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Yaakov Selkowitz @ 2020-04-24 21:19 UTC (permalink / raw)
  To: cygwin-developers

Our winsup/cygwin/localtime.cc is a mashup of a very old version of
upstream tzcode's private.h, tzfile.h, and localtime.c with Cygwin-
specific patches for getting the timezone from windows as a fallback,
as well as handling API compatibility with pre-tm_gmtoff binaries.

The upstream tzcode/tzdata have introduced database changes which
cannot be read by old code.  Currently, I am building tzdata in the old
("rearguard") format to keep compatibility, but at this point we're
*way* behind upstream and we really should update our code.  Given how
long it's been though, it's going to be a bit of work.

Is anyone willing to take on merging our changes into the latest
upstream code and creating a new localtime.cc?  As a bonus, if the file
layout were to be restructured to make this more easily maintainable
(e.g. by creating a winsup/cygwin/tzcode subdirectory, adding
$(srcdir)/tzcode to winsup/cygwin/Makefile.in:VPATH, and updating the
object file names), that would probably help going forward.

TIA,

--
Yaakov


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-29  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 21:19 tzcode resync Yaakov Selkowitz
2020-04-27  8:51 ` Corinna Vinschen
2020-04-29  7:03   ` Mark Geisert
2020-04-29  8:34     ` Corinna Vinschen
2020-04-29  9:05       ` Mark Geisert
2020-04-29  9:31         ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).