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

Misc fixes for rhash #299

Merged
merged 2 commits into from
Dec 16, 2023
Merged

Conversation

CasualPokePlayer
Copy link
Contributor

  • Correct SEEK_END behavior for rc_file_seek_buffered_file. offset should be added, not substracted (the caller is supposed to send a negative offset here)
  • Properly open UTF-8 paths on Windows (this requires conversion from UTF-8 to UTF-16 and using _wfopen_s/_wfopen).

- Correct SEEK_END behavior for rc_file_seek_buffered_file. offset should be added, not substracted (the caller is supposed to send a negative offset here)
- Properly open UTF-8 paths on Windows (this requires conversion from UTF-8 to UTF-16 and using _wfopen_s/_wfopen).
@CasualPokePlayer CasualPokePlayer marked this pull request as ready for review December 12, 2023 07:08
src/rhash/hash.c Show resolved Hide resolved
src/rhash/hash.c Outdated Show resolved Hide resolved
@Jamiras Jamiras merged commit 7e7f546 into RetroAchievements:develop Dec 16, 2023
6 checks passed
@CasualPokePlayer CasualPokePlayer deleted the rhash_fixes branch December 16, 2023 17:53
@Jamiras Jamiras added this to the 11.1.0 milestone Jan 17, 2024
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