Репозитории ALT
S: | 115.2.2-alt1 |
5.1: | 3.1.7-alt0.20110123.M50P.1 |
4.1: | 2.0.0.21-alt0.M41.1 |
4.0: | 2.0.0.21-alt0.M40.1 |
3.0: | 1.0.6-alt2.1 |
+updates: | 1.0.8-alt0.M30.1 |
Группа :: Сети/Почта
Пакет: thunderbird
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xulrunner-gio-protocol-handler.patch
Скачать
Скачать
diff --git a/mozilla/extensions/gio/nsGIOProtocolHandler.cpp b/mozilla/extensions/gio/nsGIOProtocolHandler.cpp
index 9faa639..4a1c857 100644
--- a/mozilla/extensions/gio/nsGIOProtocolHandler.cpp
+++ b/mozilla/extensions/gio/nsGIOProtocolHandler.cpp
@@ -51,7 +51,7 @@
#include "nsIStandardURL.h"
#include "nsMimeTypes.h"
#include "nsNetUtil.h"
-#include "mozilla/Monitor.h"
+#include "mozilla/ReentrantMonitor.h"
#include <gio/gio.h>
#define MOZ_GIO_SCHEME "moz-gio"
@@ -226,7 +226,7 @@ class nsGIOInputStream : public nsIInputStream
PRUint32 mDirBufCursor;
PRPackedBool mDirOpen;
MountOperationResult mMountRes;
- mozilla::Monitor mMonitorMountInProgress;
+ mozilla::ReentrantMonitor mMonitorMountInProgress;
gint mMountErrorCode;
};
/**
@@ -238,7 +238,7 @@ class nsGIOInputStream : public nsIInputStream
void
nsGIOInputStream::SetMountResult(MountOperationResult result, gint error_code)
{
- mozilla::MonitorAutoEnter mon(mMonitorMountInProgress);
+ mozilla::ReentrantMonitorAutoEnter mon(mMonitorMountInProgress);
mMountRes = result;
mMountErrorCode = error_code;
mon.Notify();
@@ -263,7 +263,7 @@ nsGIOInputStream::MountVolume() {
NULL,
mount_enclosing_volume_finished,
this);
- mozilla::MonitorAutoEnter mon(mMonitorMountInProgress);
+ mozilla::ReentrantMonitorAutoEnter mon(mMonitorMountInProgress);
/* Waiting for finish of mount operation thread */
while (mMountRes == MOUNT_OPERATION_IN_PROGRESS)
mon.Wait();