Репозитории ALT
S: | 1.21-alt1_22.20160222git0027b3b8e694 |
5.1: | 1.01-alt4 |
4.0: | 1.0-alt1 |
3.0: | 0.92-alt1 |
Группа :: Игры/Аркады
Пакет: enigma
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0004-src-lev-Proxy.cc-fix-check-for-basic_ifstream-s-read.patch
Скачать
Скачать
From 016017c5afa803ffe79e5b667a9a0a8377ea098e Mon Sep 17 00:00:00 2001
From: Michal Schmidt <mschmidt@redhat.com>
Date: Mon, 22 Feb 2016 17:24:47 +0100
Subject: [PATCH 4/4] src/lev/Proxy.cc: fix check for basic_ifstream's
readiness
---
src/lev/Proxy.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lev/Proxy.cc b/src/lev/Proxy.cc
index 6d58c0ba9a..69f54a20b8 100644
--- a/src/lev/Proxy.cc
+++ b/src/lev/Proxy.cc
@@ -933,7 +933,7 @@ namespace enigma { namespace lev {
} else if (haveLocalCopy) {
// plain file
basic_ifstream<char> ifs(absExtPath.c_str(), ios::binary | ios::in);
- if (ifs != NULL)
+ if (ifs)
Readfile(ifs, extCode);
else
haveLocalCopy = false;
--
2.5.0