[tz] Decoding timezone data

Paul_Koning at Dell.com Paul_Koning at Dell.com
Tue Nov 8 11:44:46 UTC 2011


>As an other aside, is there a better way to describe the in-file layout of the ttinfo array members than using a C struct?  An actual C struct would have padding and alignment requirements that do not agree with the in-file layout description.

A data layout diagram, just like a packet format diagram in a network protocol spec, would be a good way to do that.  It would make the layout completely explicit, without any question of the meaning of C type names or the platform-dependent rules of structure padding.

	paul





More information about the tz mailing list