-
Notifications
You must be signed in to change notification settings - Fork 282
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
misc cleanups #2309
misc cleanups #2309
Conversation
Signed-off-by: Rosen Penev <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
No need. Signed-off-by: Rosen Penev <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
These were not const. Signed-off-by: Rosen Penev <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2309 +/- ##
==========================================
+ Coverage 63.44% 63.48% +0.03%
==========================================
Files 118 118
Lines 19643 19601 -42
Branches 9608 9576 -32
==========================================
- Hits 12462 12443 -19
+ Misses 5112 5091 -21
+ Partials 2069 2067 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
// Set original file permissions | ||
if (::chmod(pf, origStMode) == -1) { | ||
// Set original file permissions | ||
if (statOk && origStMode != buf2.st_mode && ::chmod(pf, origStMode) == -1) { |
Check failure
Code scanning / CodeQL
Time-of-check time-of-use filesystem race condition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hahaha no.
Signed-off-by: Rosen Penev <[email protected]>
fs::path is convertable to a string. Signed-off-by: Rosen Penev <[email protected]>
I've seen this before. Transient error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Nice set of changes 👏
If this is a flaky test, I would vote to comment it out an create a ticket to investigate what's happening there. In that way it will not create confusion. |
No description provided.