From owner-cvs-all Fri Jul 14 8: 9:37 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 46E7937B838; Fri, 14 Jul 2000 08:07:38 -0700 (PDT) (envelope-from dwmalone@FreeBSD.org) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA81572; Fri, 14 Jul 2000 08:07:38 -0700 (PDT) (envelope-from dwmalone@FreeBSD.org) Message-Id: <200007141507.IAA81572@freefall.freebsd.org> From: David Malone Date: Fri, 14 Jul 2000 08:07:37 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/tcp_wrappers rfc931.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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