From owner-freebsd-gecko@FreeBSD.ORG Thu Aug 23 00:37:40 2012 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6851C1065673 for ; Thu, 23 Aug 2012 00:37:40 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 092EC8FC1D for ; Thu, 23 Aug 2012 00:37:39 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.4/8.14.3) with ESMTP id q7N0bdmJ059088 for ; Thu, 23 Aug 2012 00:37:39 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.4/8.14.3/Submit) id q7N0bXIj057980 for freebsd-gecko@freebsd.org; Thu, 23 Aug 2012 00:37:33 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Thu, 23 Aug 2012 00:37:33 GMT Message-Id: <201208230037.q7N0bXIj057980@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r946 - in branches/experimental: mail/thunderbird-esr/files mail/thunderbird/files www/firefox-esr/files www/firefox-nightly/files www/firefox/files www/libxul/files www/seamonkey/files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2012 00:37:40 -0000 Author: jbeich Date: Thu Aug 23 00:37:33 2012 New Revision: 946 Log: fix some clang 3.2 errors (for 20120817 update) Added: branches/experimental/mail/thunderbird-esr/files/patch-bug784776 branches/experimental/mail/thunderbird/files/patch-bug784776 branches/experimental/www/firefox-esr/files/patch-bug784776 branches/experimental/www/firefox-nightly/files/patch-bug784776 branches/experimental/www/firefox/files/patch-bug784776 branches/experimental/www/libxul/files/patch-bug784776 branches/experimental/www/seamonkey/files/patch-bug784776 Added: branches/experimental/mail/thunderbird-esr/files/patch-bug784776 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/mail/thunderbird-esr/files/patch-bug784776 Thu Aug 23 00:37:33 2012 (r946) @@ -0,0 +1,22 @@ +--- mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp~ ++++ mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp +@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr + struct tm *tmc; + int i; + +- tt = time((time_t)NULL); ++ tt = time(NULL); + tmc = localtime(&tt); + + tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM +--- mozilla/xpcom/glue/nsBaseHashtable.h~ ++++ mozilla/xpcom/glue/nsBaseHashtable.h +@@ -147,7 +147,7 @@ public: + { + EntryType* ent = this->GetEntry(aKey); + if (!ent) +- return NULL; ++ return 0; + + return ent->mData; + } Added: branches/experimental/mail/thunderbird/files/patch-bug784776 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/mail/thunderbird/files/patch-bug784776 Thu Aug 23 00:37:33 2012 (r946) @@ -0,0 +1,50 @@ +--- mozilla/content/media/MediaEngineDefault.cpp~ ++++ mozilla/content/media/MediaEngineDefault.cpp +@@ -232,12 +232,12 @@ nsresult + MediaEngineDefaultAudioSource::Start(SourceMediaStream* aStream, TrackID aID) + { + if (mState != kAllocated) { +- return NULL; ++ return 0; + } + + mTimer = do_CreateInstance(NS_TIMER_CONTRACTID); + if (!mTimer) { +- return NULL; ++ return 0; + } + + mSource = aStream; +--- mozilla/gfx/layers/opengl/ImageLayerOGL.cpp~ ++++ mozilla/gfx/layers/opengl/ImageLayerOGL.cpp +@@ -936,7 +936,7 @@ ShadowImageLayerOGL::CleanupResources() + { + if (mSharedHandle) { + gl()->ReleaseSharedHandle(mShareType, mSharedHandle); +- mSharedHandle = NULL; ++ mSharedHandle = 0; + } + + mYUVTexture[0].Release(); +--- mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp~ ++++ mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp +@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr + struct tm *tmc; + int i; + +- tt = time((time_t)NULL); ++ tt = time(NULL); + tmc = localtime(&tt); + + tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM +--- mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp~ ++++ mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp +@@ -40,7 +40,7 @@ CrossProcessMutexHandle + CrossProcessMutex::ShareToProcess(base::ProcessHandle aHandle) + { + NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!"); +- return NULL; ++ return 0; + } + + } Added: branches/experimental/www/firefox-esr/files/patch-bug784776 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox-esr/files/patch-bug784776 Thu Aug 23 00:37:33 2012 (r946) @@ -0,0 +1,22 @@ +--- intl/locale/src/unix/nsDateTimeFormatUnix.cpp~ ++++ intl/locale/src/unix/nsDateTimeFormatUnix.cpp +@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr + struct tm *tmc; + int i; + +- tt = time((time_t)NULL); ++ tt = time(NULL); + tmc = localtime(&tt); + + tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM +--- xpcom/glue/nsBaseHashtable.h~ ++++ xpcom/glue/nsBaseHashtable.h +@@ -147,7 +147,7 @@ public: + { + EntryType* ent = this->GetEntry(aKey); + if (!ent) +- return NULL; ++ return 0; + + return ent->mData; + } Added: branches/experimental/www/firefox-nightly/files/patch-bug784776 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox-nightly/files/patch-bug784776 Thu Aug 23 00:37:33 2012 (r946) @@ -0,0 +1,22 @@ +--- intl/locale/src/unix/nsDateTimeFormatUnix.cpp~ ++++ intl/locale/src/unix/nsDateTimeFormatUnix.cpp +@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr + struct tm *tmc; + int i; + +- tt = time((time_t)NULL); ++ tt = time(NULL); + tmc = localtime(&tt); + + tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM +--- ipc/glue/CrossProcessMutex_unimplemented.cpp~ ++++ ipc/glue/CrossProcessMutex_unimplemented.cpp +@@ -40,7 +40,7 @@ CrossProcessMutexHandle + CrossProcessMutex::ShareToProcess(base::ProcessHandle aHandle) + { + NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!"); +- return NULL; ++ return 0; + } + + } Added: branches/experimental/www/firefox/files/patch-bug784776 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox/files/patch-bug784776 Thu Aug 23 00:37:33 2012 (r946) @@ -0,0 +1,50 @@ +--- content/media/MediaEngineDefault.cpp~ ++++ content/media/MediaEngineDefault.cpp +@@ -232,12 +232,12 @@ nsresult + MediaEngineDefaultAudioSource::Start(SourceMediaStream* aStream, TrackID aID) + { + if (mState != kAllocated) { +- return NULL; ++ return 0; + } + + mTimer = do_CreateInstance(NS_TIMER_CONTRACTID); + if (!mTimer) { +- return NULL; ++ return 0; + } + + mSource = aStream; +--- gfx/layers/opengl/ImageLayerOGL.cpp~ ++++ gfx/layers/opengl/ImageLayerOGL.cpp +@@ -936,7 +936,7 @@ ShadowImageLayerOGL::CleanupResources() + { + if (mSharedHandle) { + gl()->ReleaseSharedHandle(mShareType, mSharedHandle); +- mSharedHandle = NULL; ++ mSharedHandle = 0; + } + + mYUVTexture[0].Release(); +--- intl/locale/src/unix/nsDateTimeFormatUnix.cpp~ ++++ intl/locale/src/unix/nsDateTimeFormatUnix.cpp +@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr + struct tm *tmc; + int i; + +- tt = time((time_t)NULL); ++ tt = time(NULL); + tmc = localtime(&tt); + + tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM +--- ipc/glue/CrossProcessMutex_unimplemented.cpp~ ++++ ipc/glue/CrossProcessMutex_unimplemented.cpp +@@ -40,7 +40,7 @@ CrossProcessMutexHandle + CrossProcessMutex::ShareToProcess(base::ProcessHandle aHandle) + { + NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!"); +- return NULL; ++ return 0; + } + + } Added: branches/experimental/www/libxul/files/patch-bug784776 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/libxul/files/patch-bug784776 Thu Aug 23 00:37:33 2012 (r946) @@ -0,0 +1,22 @@ +--- intl/locale/src/unix/nsDateTimeFormatUnix.cpp~ ++++ intl/locale/src/unix/nsDateTimeFormatUnix.cpp +@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr + struct tm *tmc; + int i; + +- tt = time((time_t)NULL); ++ tt = time(NULL); + tmc = localtime(&tt); + + tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM +--- xpcom/glue/nsBaseHashtable.h~ ++++ xpcom/glue/nsBaseHashtable.h +@@ -147,7 +147,7 @@ public: + { + EntryType* ent = this->GetEntry(aKey); + if (!ent) +- return NULL; ++ return 0; + + return ent->mData; + } Added: branches/experimental/www/seamonkey/files/patch-bug784776 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/seamonkey/files/patch-bug784776 Thu Aug 23 00:37:33 2012 (r946) @@ -0,0 +1,50 @@ +--- mozilla/content/media/MediaEngineDefault.cpp~ ++++ mozilla/content/media/MediaEngineDefault.cpp +@@ -232,12 +232,12 @@ nsresult + MediaEngineDefaultAudioSource::Start(SourceMediaStream* aStream, TrackID aID) + { + if (mState != kAllocated) { +- return NULL; ++ return 0; + } + + mTimer = do_CreateInstance(NS_TIMER_CONTRACTID); + if (!mTimer) { +- return NULL; ++ return 0; + } + + mSource = aStream; +--- mozilla/gfx/layers/opengl/ImageLayerOGL.cpp~ ++++ mozilla/gfx/layers/opengl/ImageLayerOGL.cpp +@@ -936,7 +936,7 @@ ShadowImageLayerOGL::CleanupResources() + { + if (mSharedHandle) { + gl()->ReleaseSharedHandle(mShareType, mSharedHandle); +- mSharedHandle = NULL; ++ mSharedHandle = 0; + } + + mYUVTexture[0].Release(); +--- mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp~ ++++ mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp +@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr + struct tm *tmc; + int i; + +- tt = time((time_t)NULL); ++ tt = time(NULL); + tmc = localtime(&tt); + + tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM +--- mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp~ ++++ mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp +@@ -40,7 +40,7 @@ CrossProcessMutexHandle + CrossProcessMutex::ShareToProcess(base::ProcessHandle aHandle) + { + NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!"); +- return NULL; ++ return 0; + } + + }