txeh icon indicating copy to clipboard operation
txeh copied to clipboard

ParseHosts Error When There Is Only One Line in Hosts File Without “\n”at the End

Open HuntercodeT opened this issue 2 years ago • 0 comments

When the hosts file has only one line and lacks a newline character at the end, parsing the hosts file results in an error. Consequently, modifying the hosts file under such circumstances leads to the loss of Hosts file information.

HuntercodeT avatar Jan 04 '24 09:01 HuntercodeT