Subject: CVS commit: pkgsrc/lang/perl58
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 12/11/2004 16:19:29
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat Dec 11 16:19:29 UTC 2004

Modified Files:
	pkgsrc/lang/perl58: Makefile distinfo
Added Files:
	pkgsrc/lang/perl58/patches: patch-ci

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 pkgsrc/lang/perl58/Makefile
cvs rdiff -r1.22 -r1.23 pkgsrc/lang/perl58/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/lang/perl58/patches/patch-ci

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.