diff options
author | ben%bengoodger.com <devnull@localhost> | 2003-10-26 22:18:09 +0000 |
---|---|---|
committer | ben%bengoodger.com <devnull@localhost> | 2003-10-26 22:18:09 +0000 |
commit | 043d414719cb365d5f1cbc20de1bc481046df32f (patch) | |
tree | efd7e594f2464d63b8d3afc1a2f3f6bf03e3dfa9 | |
parent | 02ea88ec8ddaf74a677b1f752688f820f9aca388 (diff) | |
download | nspr-hg-MOZILLA_1_5_BRANCH.tar.gz |
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=asaMOZILLA_1_5_1_RELEASEFIREBIRD_0_7_1_RELEASEMOZILLA_1_5_BRANCH
-rw-r--r-- | pr/src/misc/prtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |