Date: Thu, 8 Nov 2001 18:23:05 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/nvi/cl cl_screen.c Message-ID: <200111090223.fA92N5J22456@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <mkb@altair.mayn.de>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111090223.fA92N5J22456>
