[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:05 UTC 2017


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

The following commit has been merged in the master branch:
commit 715496938315ef46f28acacddc6f4594af1abaf7
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Thu Jan 7 14:39:34 2010 +0000

    #672: Needed to compile on systems with lstat.
---
 src/basicio.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/basicio.cpp b/src/basicio.cpp
index bec9c75..dcb1611 100644
--- a/src/basicio.cpp
+++ b/src/basicio.cpp
@@ -443,19 +443,19 @@ namespace Exiv2 {
             bool statOk = true;
             mode_t origStMode = 0;
             std::string spf;
-            const char* pf = 0;
+            char* pf = 0;
 #ifdef EXV_UNICODE_PATH
             std::wstring wspf;
-            const wchar_t* wpf = 0;
+            wchar_t* wpf = 0;
             if (p_->wpMode_ == Impl::wpUnicode) {
                 wspf = wpath();
-                wpf = wspf.c_str();
+                wpf = const_cast<wchar_t*>(wspf.c_str());
             }
             else
 #endif
             {
                 spf = path();
-                pf = spf.c_str();
+                pf = const_cast<char*>(spf.c_str());
             }
 
             // Get the permissions of the file, or linked-to file, on platforms which have lstat

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list