Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use case-insensitive Windows environment #8

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

jonahbeckford
Copy link
Collaborator

This is an extension of #6

On Windows environment entries are case-sensitive. It is up to the reader to do a case-insensitive search if required. This PR does a case-insensitive search so that SystemRoot and SYSTEMROOT are both recognized.

Also had to bump up OCaml requirements from 4.02.3 to 4.03.0 since using String.lowercase_ascii.

On Windows environment entries are case-sensitive. It is up to the
reader to do a case-insensitive search if required. This commit
does that so that `SystemRoot` and `SYSTEMROOT` can be considered
equally.
@rgrinberg
Copy link
Owner

@emillon could you review?

Copy link
Collaborator

@emillon emillon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rgrinberg rgrinberg merged commit ed878db into rgrinberg:master Apr 19, 2022
emillon added a commit to emillon/opam-repository that referenced this pull request Jan 20, 2023
CHANGES:

* Passthrough case-insensitive PATH and SYSTEMROOT on Windows (@emillon,
  @jonahbeckford, rgrinberg/curly#6, rgrinberg/curly#8)
* Passthrough PATH to Unixes too. (@bikal, rgrinberg/curly#12)
* Add `?follow_redirects` argument to `run` and related functions
  (@rawleyfowler, rgrinberg/curly#5).
@Hajimolla
Copy link

[]

  • ****

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants