Date: Sun, 18 Apr 2010 03:52:41 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/net getservent.c Message-ID: <201004180353.o3I3r0A6041757@repoman.freebsd.org>
index | next in thread | raw e-mail
ume 2010-04-18 03:52:41 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
lib/libc/net getservent.c
Log:
SVN rev 206783 on 2010-04-18 03:52:41Z by ume
MFC ir206152, r206153, r206154:
- Stop adding trailing '\n'. The servent_unpack() doesn't expect
lines terminated with '\n'.
- Treat '+' as special only when in compat mode, and simplify
the logic bit.
- Reduce duplicate code.
Revision Changes Path
1.23.10.2 +35 -71 src/lib/libc/net/getservent.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004180353.o3I3r0A6041757>
