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

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


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

The following commit has been merged in the master branch:
commit b8a7b77ade11d3c5bc44a1b4acd965b42243c7ff
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Tue Mar 8 13:59:22 2005 +0000

    Removed void AsciiValue::read(const byte*, long, ByteOrder); instead use that of the baseclass, which does not add a trailing null.
    Adding a null can cause a metacopy operation to write from metadata instead of simply copying the metadata.
---
 src/value.cpp |  7 -------
 src/value.hpp | 14 --------------
 2 files changed, 21 deletions(-)

diff --git a/src/value.cpp b/src/value.cpp
index ac889da..8c7e89d 100644
--- a/src/value.cpp
+++ b/src/value.cpp
@@ -224,13 +224,6 @@ namespace Exiv2 {
         return *this;
     }
 
-    void AsciiValue::read(const byte* buf, long len, ByteOrder byteOrder)
-    {
-        // byteOrder not needed 
-        value_ = std::string(reinterpret_cast<const char*>(buf), len);
-        if (value_[value_.size()-1] != '

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list