[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:41:17 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=1b93b9d

The following commit has been merged in the master branch:
commit 1b93b9dfd294da69b3cfb75c4274e87938bdf453
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Mon Apr 12 16:13:42 2010 +0000

    Retain value in case of stream error. (Suggested by Thomas Beutlich)
---
 src/value.hpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/value.hpp b/src/value.hpp
index 7790002..d47c345 100644
--- a/src/value.hpp
+++ b/src/value.hpp
@@ -1515,12 +1515,13 @@ namespace Exiv2 {
     {
         std::istringstream is(buf);
         T tmp;
-        value_.clear();
+        ValueList val;
         while (!(is.eof())) {
             is >> tmp;
             if (is.fail()) return 1;
-            value_.push_back(tmp);
+            val.push_back(tmp);
         }
+        value_.swap(val);
         return 0;
     }
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list