config.d: Clarify _curlrc filename is still valid on Windows

Recent changes added support for filename .curlrc on Windows, and
when it's not found curl falls back on the original Windows filename
_curlrc. _curlrc was removed from the doc, however it is still valid.

Closes https://github.com/curl/curl/pull/8382
This commit is contained in:
Jay Satiro 2022-02-03 17:07:53 -05:00
parent 2610142139
commit a6e9196724

View File

@ -64,9 +64,12 @@ config file is checked for in the following places in this order:
6) Windows: "%USERPROFILE%\\Application Data\\.curlrc"
7) Non-windows: use getpwuid to find the home directory
7) Non-Windows: use getpwuid to find the home directory
8) On windows, if it finds no .curlrc file in the sequence described above, it
8) On Windows, if it finds no .curlrc file in the sequence described above, it
checks for one in the same dir the curl executable is placed.
On Windows two filenames are checked per location: .curlrc and _curlrc,
preferring the former. Older versions on Windows checked for _curlrc only.
This option can be used multiple times to load multiple config files.