[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:36:23 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=fdfb5fe
The following commit has been merged in the master branch:
commit fdfb5fee63e48ea9c6d1f71c1c812521a033e42c
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Tue May 25 05:55:58 2004 +0000
Added warning when makernote cannot be read
---
src/exif.cpp | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/exif.cpp b/src/exif.cpp
index 744a002..8706c99 100644
--- a/src/exif.cpp
+++ b/src/exif.cpp
@@ -20,14 +20,14 @@
*/
/*
File: exif.cpp
- Version: $Name: $ $Revision: 1.42 $
+ Version: $Name: $ $Revision: 1.43 $
Author(s): Andreas Huggel (ahu) <ahuggel at gmx.net>
History: 26-Jan-04, ahu: created
11-Feb-04, ahu: isolated as a component
*/
// *****************************************************************************
#include "rcsid.hpp"
-EXIV2_RCSID("@(#) $Name: $ $Revision: 1.42 $ $RCSfile: exif.cpp,v $")
+EXIV2_RCSID("@(#) $Name: $ $Revision: 1.43 $ $RCSfile: exif.cpp,v $")
// Define DEBUG_MAKERNOTE to output debug information to std::cerr
#undef DEBUG_MAKERNOTE
@@ -590,6 +590,11 @@ namespace Exiv2 {
byteOrder(),
exifIfd_.offset() + pos->offset());
if (rc) {
+ // Todo: How to handle debug output like this
+ std::cerr << "Warning: Failed to read "
+ << pMakerNote_->sectionName(0)
+ << " Makernote, rc = " << rc << "
";
+
delete pMakerNote_;
pMakerNote_ = 0;
}
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list