]> git.pld-linux.org Git - packages/enigma.git/blob - 0004-src-lev-Proxy.cc-fix-check-for-basic_ifstream-s-read.patch
- added gettext patch (add external arg to allow gettext 0.20+)
[packages/enigma.git] / 0004-src-lev-Proxy.cc-fix-check-for-basic_ifstream-s-read.patch
1 From 016017c5afa803ffe79e5b667a9a0a8377ea098e Mon Sep 17 00:00:00 2001
2 From: Michal Schmidt <mschmidt@redhat.com>
3 Date: Mon, 22 Feb 2016 17:24:47 +0100
4 Subject: [PATCH 4/4] src/lev/Proxy.cc: fix check for basic_ifstream's
5  readiness
6
7 ---
8  src/lev/Proxy.cc | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/src/lev/Proxy.cc b/src/lev/Proxy.cc
12 index 6d58c0ba9a..69f54a20b8 100644
13 --- a/src/lev/Proxy.cc
14 +++ b/src/lev/Proxy.cc
15 @@ -933,7 +933,7 @@ namespace enigma { namespace lev {
16                      } else if (haveLocalCopy) {
17                          // plain file
18                          basic_ifstream<char> ifs(absExtPath.c_str(), ios::binary | ios::in);
19 -                        if (ifs != NULL)
20 +                        if (ifs)
21                              Readfile(ifs, extCode);
22                          else
23                              haveLocalCopy = false;
24 -- 
25 2.5.0
26
This page took 0.052378 seconds and 3 git commands to generate.