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

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


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

The following commit has been merged in the master branch:
commit 7da3ad2e41e6730bd7015f35265afb405be59d6f
Author: Robin Mills <robin at clanmills.com>
Date:   Wed Apr 19 15:36:00 2017 +0000

    #1175.  Thanks to LaserSoft for reporting this and providing a patch.
---
 src/basicio.cpp | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/basicio.cpp b/src/basicio.cpp
index e899d8d..cf2fb20 100644
--- a/src/basicio.cpp
+++ b/src/basicio.cpp
@@ -237,15 +237,25 @@ namespace Exiv2 {
     {
         int ret = 0;
 #ifdef EXV_UNICODE_PATH
-        if (wpMode_ == wpUnicode) {
+#ifdef _WIN64
+            struct _stat64 st;
+            ret = ::_wstati64(wpath_.c_str(), &st);
+
+            if (0 == ret) {
+                buf.st_size = st.st_size;
+                buf.st_mode = st.st_mode;
+                buf.st_nlink = st.st_nlink;
+            }
+#else
             struct _stat st;
             ret = ::_wstat(wpath_.c_str(), &st);
+
             if (0 == ret) {
                 buf.st_size = st.st_size;
                 buf.st_mode = st.st_mode;
                 buf.st_nlink = st.st_nlink;
             }
-        }
+#endif
         else
 #endif
         {

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list