From 6570fbdef2629cb3ffce326e1ea78f7b5d34761e Mon Sep 17 00:00:00 2001 From: "wchang0222%aol.com" Date: Mon, 13 Oct 2003 19:40:06 +0000 Subject: [PATCH] Bugzilla bug 221385: we need to set tm_zone and tm_gmtoff on FreeBSD, too. The patch is contributed by Tai-hwa Liang . r=wtc. git-svn-id: svn://10.0.0.236/trunk@147915 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/src/misc/prtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/nsprpub/pr/src/misc/prtime.c b/mozilla/nsprpub/pr/src/misc/prtime.c index 78904f093d8..3035a9a29da 100644 --- a/mozilla/nsprpub/pr/src/misc/prtime.c +++ b/mozilla/nsprpub/pr/src/misc/prtime.c @@ -1666,7 +1666,7 @@ PR_FormatTime(char *buf, int buflen, const char *fmt, const PRExplodedTime *tm) */ #if defined(SUNOS4) || (__GLIBC__ >= 2) || defined(XP_BEOS) \ - || defined(NETBSD) || defined(OPENBSD) + || defined(NETBSD) || defined(OPENBSD) || defined(FREEBSD) a.tm_zone = NULL; a.tm_gmtoff = tm->tm_params.tp_gmt_offset + tm->tm_params.tp_dst_offset; #endif