Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Blank line required at end of file for it to work #45

Closed
GoogleCodeExporter opened this issue Jan 2, 2016 · 2 comments
Closed

Blank line required at end of file for it to work #45

GoogleCodeExporter opened this issue Jan 2, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a hosts file
2. Add an entry, and end the file at the end of that line (without a new line)
3. Attempt to use that entry

What is the expected output? What do you see instead?
I would expect to be able to use that entry, but instead it acts as if it 
doesn't exist.

What version of the product are you using? On what operating system?
0.5.1, on OSX 10.7.2

It'd be nice to avoid this by just automatically adding a new line to the end 
of files if they're required.

Original issue reported on code.google.com by beau.leb...@gmail.com on 21 Mar 2012 at 7:38

@GoogleCodeExporter
Copy link
Author

Original comment by 2ndal...@gmail.com on 5 Apr 2012 at 8:12

  • Changed state: Started
  • Added labels: Milestone-Release-0.6

@GoogleCodeExporter
Copy link
Author

Original comment by 2ndal...@gmail.com on 5 Apr 2012 at 8:41

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant