diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-04-20 06:16:18 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-04-20 06:16:18 +0000 |
commit | 8673c7ec800a8bcc6da14c506081a3cb76e2b8ea (patch) | |
tree | ad3f495c08f0cc331b6958d319f699d021175c19 /lang/perl5.6/files/patch-POSIX.xs | |
parent | Fix plist problems. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_4_0'.release/5.4.0
Diffstat (limited to 'lang/perl5.6/files/patch-POSIX.xs')
-rw-r--r-- | lang/perl5.6/files/patch-POSIX.xs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lang/perl5.6/files/patch-POSIX.xs b/lang/perl5.6/files/patch-POSIX.xs deleted file mode 100644 index 7a3caa960822..000000000000 --- a/lang/perl5.6/files/patch-POSIX.xs +++ /dev/null @@ -1,19 +0,0 @@ ---- ext/POSIX/POSIX.xs.orig Tue Feb 1 11:55:24 2005 -+++ ext/POSIX/POSIX.xs Tue Feb 1 11:56:43 2005 -@@ -3860,6 +3860,16 @@ - mytm.tm_yday = yday; - mytm.tm_isdst = isdst; - mini_mktime(&mytm); -+ /* use libc to normalize the thing -- @@@ -- FreeBSD PR 74042, perl bug 18238 */ -+ { -+ struct tm mytm2; -+ time_t t; -+ mytm2 = mytm; -+ t = mktime(&mytm2); -+ mytm2 = *localtime(&t); -+ mytm.tm_gmtoff = mytm2.tm_gmtoff; -+ mytm.tm_zone = mytm2.tm_zone; -+ } - len = strftime(tmpbuf, sizeof tmpbuf, fmt, &mytm); - /* - ** The following is needed to handle to the situation where |