[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:42:44 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=47a3e51
The following commit has been merged in the master branch:
commit 47a3e51164dd31c16cecf136da95552e0c2e9b57
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Fri Sep 2 15:28:52 2011 +0000
Return a positive one-byte code from the exiv2 utility for better consistency across platforms (my version of the MSYS/MinGW shell reports 0 if the application returns a negative value).
---
src/exiv2.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/exiv2.cpp b/src/exiv2.cpp
index 2d03d1f..f120825 100644
--- a/src/exiv2.cpp
+++ b/src/exiv2.cpp
@@ -176,7 +176,8 @@ int main(int argc, char* const argv[])
params.cleanup();
Exiv2::XmpParser::terminate();
- return rc;
+ // Return a positive one byte code for better consistency across platforms
+ return static_cast<unsigned int>(rc) % 256;
} // main
// *****************************************************************************
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list