diff options
Diffstat (limited to 'dev-util/lcov/files')
-rw-r--r-- | dev-util/lcov/files/lcov-2.0-wrong-error-code.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-util/lcov/files/lcov-2.0-wrong-error-code.patch b/dev-util/lcov/files/lcov-2.0-wrong-error-code.patch new file mode 100644 index 000000000000..669308d157d3 --- /dev/null +++ b/dev-util/lcov/files/lcov-2.0-wrong-error-code.patch @@ -0,0 +1,18 @@ +From: Jeremy Bettis <jbettis@google.com> + +Fix incorrect error code usage. + +Bug: https://github.com/linux-test-project/lcov/issues/259 +Signed-off-by: Jeremy Bettis <jbettis@google.com> + +--- lcov-2.0/lib/lcovutil.pm ++++ lcov-2.0-fixed/lib/lcovutil.pm +@@ -4219,7 +4219,7 @@ + } else { + if ($f->end_line() != $func->end_line()) { + lcovutil::ignorable_error( +- $lcovutil::ERROR_INCONSISTENT, ++ $lcovutil::ERROR_INCONSISTENT_DATA, + '"' . $func->file() . + '":' . $first . ': function \'' . + $func->name() . ' last line is ' . |