[PATCH] lib/libc/stdtime and usr.sbin/zic update

Sascha Wildner saw at online.de
Sun Oct 12 17:13:54 PDT 2008


Hi,

please test/review the following patch which merges the code in 
lib/libc/stdtime and usr.sbin/zic with the tzcode2008g package from 
elsie (see http://www.twinsun.com/tz/tz-link.htm).

http://leaf.dragonflybsd.org/~swildner/tzcode.diff

At least a normal upgrade with quickworld/quickkernel is necessary but 
in this case (as zic(8) is a bootstrap tool and those are not rebuilt by 
quickworld) the old zic(8) will be used to compile the zonedata. This 
should be no problem because the updated library code will work with the 
old format as well. If you want the new zic to be used, you need to 
upgrade using buildworld/buildkernel.

User visible changes are few, but the code should be able to support a 
64 bit wide time_t, once the pc64 port works. It also should at least 
fix the Python mktime() issue reported by Aran Cox on users at . However, 
the main reason for this upgrade is being able to track and apply 
changes from future tzcode packages more easily (our current code is 
mostly from the mid 90s).

I will commit it, if no one objects, on the coming weekend.

Regards,
Sascha
--
http://yoyodyne.ath.cx




More information about the Submit mailing list