fgets leaves the newline - check for a truncated line by looking at
authorJim Bloom <bloom@ucbvax.Berkeley.EDU>
Thu, 28 Dec 1989 05:31:44 +0000 (21:31 -0800)
committerJim Bloom <bloom@ucbvax.Berkeley.EDU>
Thu, 28 Dec 1989 05:31:44 +0000 (21:31 -0800)
commitfaad658cd478da946e6430eecf15a44d8191fc42
treeb56c819f851afb1245311b4abb046875137542bd
parentf7d00d5e72962c65438ba8b6e34237429386a0b9
fgets leaves the newline - check for a truncated line by looking at
a newline in addition to null

SCCS-vsn: lib/libc/net/res_init.c 6.12
usr/src/lib/libc/net/res_init.c