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

Bug33087 master #1724

Closed
wants to merge 8 commits into from
Closed

Bug33087 master #1724

wants to merge 8 commits into from

Conversation

Labels
None yet
Projects
None yet
3 participants
@teor2345
Copy link
Contributor

@teor2345 teor2345 commented Feb 12, 2020

No description provided.

@teor2345 teor2345 force-pushed the bug33087_master branch from 39be2c8 to cb86410 Feb 12, 2020
@coveralls
Copy link

@coveralls coveralls commented Feb 12, 2020

Pull Request Test Coverage Report for Build 8086

  • 9 of 13 (69.23%) changed or added relevant lines in 4 files are covered.
  • 7 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.01%) to 63.421%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/lib/err/torerr.c 2 3 66.67%
src/lib/log/util_bug.c 0 1 0.0%
src/lib/log/log.c 6 8 75.0%
Files with Coverage Reduction New Missed Lines %
src/feature/dirauth/dirvote.c 1 65.24%
src/feature/dirparse/ns_parse.c 6 68.43%
Totals Coverage Status
Change from base Build 8083: -0.01%
Covered Lines: 50023
Relevant Lines: 78875

💛 - Coveralls

@teor2345 teor2345 force-pushed the bug33087_master branch from cb86410 to 6fe77c2 Feb 12, 2020
teor2345 added 3 commits Feb 12, 2020
Closing these file descriptors can hide sanitiser logs.

Instead, flush the logs before tor exits, using fsync().
Some Windows environments don't have fsync(), so we check
for it at compile time.

Fixes bug 33087; bugfix on 0.4.1.6.
Since we're not closing these fds, they don't need to be duplicated
any more.

Cleanup after 33087.
"ours" merge, because the 0.4.2 backport deletes the close
functions. But the 0.4.3 bug fix replaces them with fsync()
where available.
@teor2345 teor2345 force-pushed the bug33087_master branch from 9e7efca to 4062cd2 Feb 12, 2020
teor2345 added 2 commits Feb 12, 2020
But only take the changes that were caused by the rest of the 33087
branch.

Part of 33087.
@teor2345 teor2345 force-pushed the bug33087_master branch from 4062cd2 to 4cbcd1c Feb 12, 2020
@torproject-pusher torproject-pusher deleted the branch torproject:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment