summaryrefslogblamecommitdiff
path: root/user/exiv2/musl-strerror.patch
blob: c425eaf8d1897bb6d9a38b54c3ef351272f70951 (plain) (tree)



















                                                                                           
--- exiv2-0.27.5-Source/unitTests/test_futils.cpp.old	2021-10-21 12:01:10.000000000 -0500
+++ exiv2-0.27.5-Source/unitTests/test_futils.cpp	2022-06-10 01:07:12.090519526 -0500
@@ -53,7 +53,7 @@
 #elif defined(__NetBSD__)
     const char * expectedString = "Undefined error: 0 (errno = 0)";
 #else
-    const char * expectedString = "Success (errno = 0)";
+    const char * expectedString = "No error information (errno = 0)";
 #endif
     std::remove(tmpFile.c_str());
     ASSERT_STREQ(expectedString, strError().c_str());
@@ -81,7 +81,7 @@
 #elif defined(__NetBSD__)
     const char * expectedString = "Unknown error: 9999 (errno = 9999)";
 #else
-    const char * expectedString = "Unknown error 9999 (errno = 9999)";
+    const char * expectedString = "No error information (errno = 9999)";
 #endif
     ASSERT_STREQ(expectedString, strError().c_str());
 }