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

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


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

The following commit has been merged in the master branch:
commit bd4004e9633423d8a50e619dc84aee58d877771a
Author: Robin Mills <robin at clanmills.com>
Date:   Tue Apr 28 11:12:58 2015 +0000

    #934  exiv2json.cpp threw an exception on toLong() and I changed it to std::atoi.
     The value is '' (the empty string).  The following key seems to be somehow and puzzlingly broken:
    0x8827 Photo        ISOSpeedRatings             Short       0
---
 samples/exiv2json.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/exiv2json.cpp b/samples/exiv2json.cpp
index 317598c..0149d86 100644
--- a/samples/exiv2json.cpp
+++ b/samples/exiv2json.cpp
@@ -160,7 +160,7 @@ void push(Jzon::Node& node,const std::string& key,T i)
         case Exiv2::signedByte:
         case Exiv2::signedShort:
         case Exiv2::signedLong:
-			 STORE(node,key,(int)i->value().toLong());
+			 STORE(node,key,std::atoi(value.c_str()) );
 	    break;
 
         case Exiv2::tiffFloat:

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list