From 043d414719cb365d5f1cbc20de1bc481046df32f Mon Sep 17 00:00:00 2001 From: "ben%bengoodger.com" Date: Sun, 26 Oct 2003 22:18:09 +0000 Subject: Bug 217121 - Save Page does not work. Fixing a crash in prtime's PR_FormatTime method on Darwin caused by an uninitialized variable. r=wtc. a=asa --- pr/src/misc/prtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr/src/misc/prtime.c b/pr/src/misc/prtime.c index aeb7992c..7c5e8450 100644 --- a/pr/src/misc/prtime.c +++ b/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(NETBSD) || defined(DARWIN) a.tm_zone = NULL; a.tm_gmtoff = tm->tm_params.tp_gmt_offset + tm->tm_params.tp_dst_offset; #endif -- cgit v1.2.1