Windows: terminate HOSTS/LMHOSTS with newline
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 18 Dec 2011 17:08:24 +0000 (12:08 -0500)
committerDerrick Brashear <shadow@dementix.org>
Sun, 26 Feb 2012 06:39:19 +0000 (22:39 -0800)
commit611d5564bd1c378a560c09451aa223af2d3cbf57
tree4de462a6fca5d5338a75ac6f8339fafbb19500a1
parent5c5e47c0809a1c782b08d89028ea372c932e198b
Windows: terminate HOSTS/LMHOSTS with newline

If the original file did not terminate with a newline,
add one before appending the "AFS" entry.

FIXES 130210

Reviewed-on: http://gerrit.openafs.org/6375
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 2d8f9141fa98df50ce682364ef5a7958ce422613)

Change-Id: I1a95a42b420b4695b52ae0c2e2de46cd97a5294a
Reviewed-on: http://gerrit.openafs.org/6817
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/install/loopback/wmi.cpp