diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-11 16:19:29 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-11 16:19:29 +0000 |
commit | a7f077f4f1e274726c129f8965ffad1d3e36da6a (patch) | |
tree | 6033cd5678d3f4535442c7f0555bcc8560fdb364 /security/pakemon | |
parent | 834aaa13c54232765acd2834c16c8600f324df83 (diff) | |
download | pkgsrc-a7f077f4f1e274726c129f8965ffad1d3e36da6a.tar.gz |
The Open Group says that localtime_r() doesn't need to ensure that
the tz* related variables are initialized when it is invoked. In
fact, Solaris does do this while NetBSD 2.0 does not. Explicitly call
tzset() before calling localtime_r() to initialize the local timezone
data. This fixes the output of:
perl -e '$t = localtime($^T); print "$t\n";' ; date
to always print the time in the local timezone twice instead of the
first time in UTC and the second in the local timezone. Bump the
PKGREVISION.
Diffstat (limited to 'security/pakemon')
0 files changed, 0 insertions, 0 deletions