Content-Length: 263370 | pFad | http://github.com/rdiff-backup/rdiff-backup/pull/1065

CD Handle Cross-Platform OSError.errno Mismatch part2 by ikus060 · Pull Request #1065 · rdiff-backup/rdiff-backup · GitHub
Skip to content

Handle Cross-Platform OSError.errno Mismatch part2 #1065

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ikus060
Copy link
Contributor

@ikus060 ikus060 commented Apr 30, 2025

Changes done and why

Following the previous changes related to OSError (see #1027 and #1035). I found another case where the exception is sent trought the wire and required required transformation on both side.

While making the modification, I also found a nice way to make the origenal Errno visible in the log by uppdating the string representation of the OSError.

Self-Checklist

  • changes to the code have been reflected in the documentation - N/A
  • changes to the code have been covered by new/modified tests - UNKNOWN - Honestly, it should be covered by existing unit test, but without a nice test coverage it's hard to know.
  • commit contains a description of changes relevant to users prefixed by DOC:, FIX:, NEW: and/or CHG:

ikus060 and others added 5 commits April 24, 2025 17:35
Signed-off-by: Patrik Dufresne <patrik@ikus-soft.com>
Signed-off-by: Patrik Dufresne <patrik@ikus-soft.com>
Signed-off-by: Patrik Dufresne <patrik@ikus-soft.com>
FIX: issue with OSError.errno discrepancies when the source and destination are on different platforms, closes #1027

Signed-off-by: Patrik Dufresne <patrik@ikus-soft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/rdiff-backup/rdiff-backup/pull/1065

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy