mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Fix bugs with DNS library on Windows
This commit is contained in:
parent
1bb52c223b
commit
34ed1fcbea
6 changed files with 12 additions and 4 deletions
|
@ -23,6 +23,6 @@ const char *GetHostsTxtPath(char *path, size_t size) {
|
|||
if (!IsWindows()) {
|
||||
return "/etc/hosts";
|
||||
} else {
|
||||
return GetSystemDirectoryPath(path, "drivers\\etc\\hosts", size);
|
||||
return GetSystemDirectoryPath(path, "\\drivers\\etc\\hosts", size);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue