pkgsrc/devel/xulrunner17/patches/patch-bg
ryoon c0055e8103 Import xulrunner17-17.0.2 as devel/xulrunner17.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.

This package tracks 17.0.x extended support release.
2013-01-10 16:17:09 +00:00

24 lines
788 B
Text

$NetBSD: patch-bg,v 1.1 2013/01/10 16:17:10 ryoon Exp $
--- storage/src/SQLiteMutex.h.orig 2012-08-24 22:56:03.000000000 +0000
+++ storage/src/SQLiteMutex.h
@@ -108,15 +108,19 @@ public:
void assertCurrentThreadOwns()
{
NS_ASSERTION(mMutex, "No mutex associated with this wrapper!");
+#if 0 /* XXX tnn: this breaks the debug build. */
NS_ASSERTION(sqlite3_mutex_held(mMutex),
"Mutex is not held, but we expect it to be!");
+#endif
}
void assertNotCurrentThreadOwns()
{
NS_ASSERTION(mMutex, "No mutex associated with this wrapper!");
+#if 0 /* XXX tnn: this breaks the debug build. */
NS_ASSERTION(sqlite3_mutex_notheld(mMutex),
"Mutex is held, but we expect it to not be!");
+#endif
}
#endif // ifndef DEBUG