Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap return value of archive_write_data_block(3) #108

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Mar 20, 2023

archive_write_data_block(3) might depending on the version of libarchive on success return 0 or the number of bytes written. archive_write_data_block however always expects 0 on success. See man:archive_write_data(3)

@coveralls
Copy link

coveralls commented Mar 20, 2023

Pull Request Test Coverage Report for Build 4472712605

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 2 of 3 (66.67%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.4%) to 85.536%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/lib.rs 2 3 66.67%
Totals Coverage Status
Change from base Build 3870316599: 1.4%
Covered Lines: 343
Relevant Lines: 401

💛 - Coveralls

archive_write_data_block(3) might depending on the version of libarchive
on success return 0 or the number of bytes written.
`archive_write_data_block` however always expects 0 on success.
See man:archive_write_data(3)
@otavio otavio merged commit 1d1f433 into OSSystems:master Mar 20, 2023
@cgzones cgzones deleted the archive_write_data_block branch March 20, 2023 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants