summaryrefslogtreecommitdiff
path: root/share/man/man5/services.5
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-16 05:07:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-16 05:07:03 +0000
commitc6e6ff6ba816fbfd8168fcaa11020351a56bb992 (patch)
tree047c2ff5a5b9e94a0b77d503884e64395d8ca0cc /share/man/man5/services.5
parent9e9d3110171c8c9544bf65a861f4261fed7219ef (diff)
Use fgetln(3) instead of fgets(3) so we can easily recognize lines
that are too long and ignore them instead of corrupting later entries.
Diffstat (limited to 'share/man/man5/services.5')
-rw-r--r--share/man/man5/services.56
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man5/services.5 b/share/man/man5/services.5
index ebfa74d926e..9892018acbe 100644
--- a/share/man/man5/services.5
+++ b/share/man/man5/services.5
@@ -80,6 +80,12 @@ file resides in
.Xr getservent 3
.Sh BUGS
A name server should be used instead of a static file.
+.br
+Lines in
+.Pa /etc/services
+are limited to
+.Ev BUFSIZE
+characters (currently 1024). Longer lines will be ignored.
.Sh HISTORY
The
.Nm