curl: use .curlrc (with a dot) on Windows as well

Fall-back to _curlrc if the dot-version is missing.

Co-Authored-By: Steve Holme

Closes #4230
This commit is contained in:
Daniel Stenberg 2019-08-16 11:31:29 +02:00
parent f9c7ba9096
commit 862393243d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 67 additions and 52 deletions

View file

@ -40,7 +40,7 @@ Unix-like systems (which returns the home dir given the current user in your
system). On Windows, it then checks for the APPDATA variable, or as a last
resort the '%USERPROFILE%\\Application Data'.
2) On windows, if there is no _curlrc file in the home dir, it checks for one
2) On windows, if there is no .curlrc file in the home dir, it checks for one
in the same dir the curl executable is placed. On Unix-like systems, it will
simply try to load .curlrc from the determined home dir.