From owner-cvs-all Thu Nov 8 18:23: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5C2EC37B416; Thu, 8 Nov 2001 18:23:05 -0800 (PST) Received: (from rwatson@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA92N5J22456; Thu, 8 Nov 2001 18:23:05 -0800 (PST) (envelope-from rwatson) Message-Id: <200111090223.fA92N5J22456@freefall.freebsd.org> From: Robert Watson Date: Thu, 8 Nov 2001 18:23:05 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/nvi/cl cl_screen.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2001/11/08 18:23:05 PST Modified files: contrib/nvi/cl cl_screen.c Log: o nvi failed to correctly handle EINTR returned from tcsetattr(), exiting instead of recovering, which happens in particular during a rapid series of SIGWINCH's. This change forces nvi to loop on the call in the event that the call is interrupted. Interestingly, I submitted this bug report in 1998, and a solution was posted shortly thereafter by Matthias Buelow; it's been sitting in the PR database ever since. Note: this takes this file off the vendor branch. If and when we find a vendor for this code, the fix should be given back to them. PR: bin/8438 Submitted by: Matthias Buelow MFC after: 1 month Revision Changes Path 1.2 +6 -0 src/contrib/nvi/cl/cl_screen.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message