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

Accept etc/metaservers line without end of line mark #9

Open
quozl opened this issue Jun 30, 2020 · 0 comments
Open

Accept etc/metaservers line without end of line mark #9

quozl opened this issue Jun 30, 2020 · 0 comments

Comments

@quozl
Copy link
Owner

quozl commented Jun 30, 2020

If the last entry in etc/metaservers is without an end of line mark, the test for EOF causes the line to be skipped.

Workaround is to add an end of line mark; i.e. echo >> etc/metaservers.

Change ntserv/solicit.c to process a line even if the end of line mark is missing, by moving the line which calls feof. Perhaps it should be before the call to fgets.

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

No branches or pull requests

1 participant