[tz] [PATCH] Introduce Epoch offset and local time Epoch

Carsten Larsen cs at innolan.dk
Tue Oct 25 19:52:31 UTC 2016

On 10/22/2016 02:32, Paul Eggert wrote:
> Thanks, how about the attached patch instead? It lets you specify an
> arbitrary gmtime offset instead of hardwiring it for the Amiga. You
> should be able to build it on the Amiga with something like "make

There are several implementations of the Standard C library time() 
function for AmigaOS and none of them are consistent. To utilize this 
patch a direct call to the well documented and consistent AmigaOS 
function GetSysTime() would be required. This should be done in the 

static time_t sys_time(time_t *x) { return time(x); }
# endif

I don’t know how to supply this information in a correct manner but it 
should probably be incorporated in the Makefile. Otherwise, the patch 
looks correct. I will need to do more testing on affected platforms.

Kind regards
Carsten Larsen

More information about the tz mailing list