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

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


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

The following commit has been merged in the master branch:
commit 74d246bfc87be75a206f44b4c8f2683300bff11a
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Fri Oct 17 07:55:34 2008 +0000

    Fixed cross-compilation for Windows.
---
 src/preview.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/preview.cpp b/src/preview.cpp
index 0c89de7..673b5dd 100644
--- a/src/preview.cpp
+++ b/src/preview.cpp
@@ -335,7 +335,8 @@ namespace Exiv2 {
     {
         std::string name = path + extension();
         // Todo: Creating a DataBuf here unnecessarily copies the memory
-        return Exiv2::writeFile(DataBuf(pData_, size_), name);
+        DataBuf buf(pData_, size_);
+        return Exiv2::writeFile(buf, name);
     }
 
     DataBuf PreviewImage::copy() const

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list