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

Open the release files for reading #5568

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

Leonidas-from-XIV
Copy link
Contributor

Fixes an issue where the release file is determined but the sscanf is ran on the filename, not its contents, thus giving invalid results.

Detected as part of working on ocaml/dune#7868 which triggered looking into the implementation and discussed with @rjbou.

I could only test it on Fedora 38, where /etc/redhad-release contains the following:

Fedora release 38 (Thirty Eight)

src/state/opamSysPoll.ml Outdated Show resolved Hide resolved
Fixes an issue where the release file is determined but the sscanf is
ran on the filename, not its contents, thus giving invalid results.
@rjbou rjbou added this to the 2.2.0~alpha milestone Jun 8, 2023
@rjbou rjbou merged commit a257aba into ocaml:master Jun 9, 2023
@rjbou
Copy link
Collaborator

rjbou commented Jun 9, 2023

thanks!

@rjbou rjbou added the KIND: BUG label Jun 9, 2023
@Leonidas-from-XIV Leonidas-from-XIV deleted the opam-sys-poll-files branch June 9, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants