head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.6 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q2:1.1.0.4 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.2 pkgsrc-2009Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2009.09.22.13.17.30; author tnn; state dead; branches; next 1.1; 1.1 date 2009.01.05.09.58.36; author martin; state Exp; branches; next ; desc @@ 1.2 log @Send firefox3 on it's way to the happy hunting ground. @ text @$NetBSD: patch-ej,v 1.1 2009/01/05 09:58:36 martin Exp $ --- toolkit/components/places/src/nsMorkHistoryImporter.cpp.orig 2008-03-19 20:30:49.000000000 +0100 +++ toolkit/components/places/src/nsMorkHistoryImporter.cpp 2008-12-17 09:38:05.000000000 +0100 @@@@ -148,9 +148,12 @@@@ AddToHistoryCB(const nsCSubstring &aRowI } PRTime date; - if (PR_sscanf(values[kLastVisitColumn].get(), "%lld", &date) != 1) { + long long ld; + if (PR_sscanf(values[kLastVisitColumn].get(), "%lld", &ld) != 1) { date = -1; - } + } else { + date = ld; + } PRBool isTyped = values[kTypedColumn].EqualsLiteral("1"); PRInt32 transition = isTyped ? @ 1.1 log @Fix a few more LP64 bit bugs (may be in dead code, but who knows) and fix the xptc call stubs for sparc64 so that tree views with a javascript data source (like history and about:config) now work. All changes already reported upstream. @ text @d1 1 a1 1 $NetBSD$ @