Date: Fri, 14 Jul 2000 08:07:37 -0700 (PDT) From: David Malone <dwmalone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/tcp_wrappers rfc931.c Message-ID: <200007141507.IAA81572@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2000/07/14 08:07:37 PDT
Modified files:
contrib/tcp_wrappers rfc931.c
Log:
Stop the tcp_wrappers ident code sending a request which is split
across several packets. This is done by not turning off buffering
on the stdio stream for the ident connection. Originally this was
done to avoid reading back what you'd just written into the buffer.
However ANSI C gives a list of functions which should allow you to
safely change direction on a stdio stream, and Wietse found that
fseek seemed to be the most portable.
The original patch used a different workaround, but this should be
a real fix.
PR: 16086
Reviewed by: wietse@porcupine.org
(Original version) Approved by: markm
Revision Changes Path
1.3 +10 -9 src/contrib/tcp_wrappers/rfc931.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007141507.IAA81572>
