Module Name: src
Committed By: jdc
Date: Sat Sep 24 18:57:47 UTC 2011
Modified Files:
src/dist/nvi/cl: cl_term.c
Log Message:
Work around PR#43839, by calling resizeterm() on SIGWINCH.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/dist/nvi/cl/cl_term.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/dist/nvi/cl/cl_term.c
diff -u src/dist/nvi/cl/cl_term.c:1.2 src/dist/nvi/cl/cl_term.c:1.3
--- src/dist/nvi/cl/cl_term.c:1.2 Fri Dec 5 22:51:42 2008
+++ src/dist/nvi/cl/cl_term.c Sat Sep 24 18:57:46 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: cl_term.c,v 1.2 2008/12/05 22:51:42 christos Exp $ */
+/* $NetBSD: cl_term.c,v 1.3 2011/09/24 18:57:46 jdc Exp $ */
/*-
* Copyright (c) 1993, 1994
@@ -414,6 +414,7 @@ cl_ssize(SCR *sp, int sigwinch, size_t *
*rowp = row;
if (colp != NULL)
*colp = col;
+ resizeterm(row, col);
return (0);
}