rpms/ncurses/devel ncurses-5.4-endwinfilter.patch, NONE, 1.1 ncurses.spec, 1.32, 1.33
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Dec 1 13:44:09 UTC 2005
Author: praszyk
Update of /cvs/dist/rpms/ncurses/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv4788
Modified Files:
ncurses.spec
Added Files:
ncurses-5.4-endwinfilter.patch
Log Message:
Clear window after filter()+'terminal-resizing'+endwin()+doupdate()+endwin() #174498
ncurses-5.4-endwinfilter.patch:
lib_setup.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
--- NEW FILE ncurses-5.4-endwinfilter.patch ---
--- ncurses-5.4/ncurses/tinfo/lib_setup.c.rasold 2005-12-01 14:26:52.000000000 +0100
+++ ncurses-5.4/ncurses/tinfo/lib_setup.c 2005-12-01 14:30:54.000000000 +0100
@@ -105,6 +105,7 @@
NCURSES_EXPORT_VAR(int) TABSIZE = 0;
static int _use_env = TRUE;
+extern bool _nc_internal_filter_mode;
NCURSES_EXPORT(void)
use_env(bool f)
@@ -166,8 +167,11 @@
* Solaris lets users override either dimension with an
* environment variable.
*/
- if (*linep <= 0)
- *linep = WINSIZE_ROWS(size);
+ if (*linep <= 0){
+ *linep = WINSIZE_ROWS(size);
+ if (_nc_internal_filter_mode == TRUE)
+ *linep=1;
+ }
if (*colp <= 0)
*colp = WINSIZE_COLS(size);
}
Index: ncurses.spec
===================================================================
RCS file: /cvs/dist/rpms/ncurses/devel/ncurses.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ncurses.spec 19 Nov 2005 04:20:41 -0000 1.32
+++ ncurses.spec 1 Dec 2005 13:44:07 -0000 1.33
@@ -2,7 +2,7 @@
Name: ncurses
Version: 5.4
%define includedirw %{_includedir}/ncursesw
-Release: 20
+Release: 21
License: distributable
Group: System Environment/Libraries
URL: http://dickey.his.com/ncurses/ncurses.html
@@ -20,6 +20,7 @@
Patch6: ncurses-5.4-20050122.patch
Patch7: ncurses-5.4-xterm-kbs.patch
Patch8: ncurses-5.4-filter.patch
+Patch9: ncurses-5.4-endwinfilter.patch
BuildRequires: sharutils
BuildRoot: %{_tmppath}/%{name}-root
@@ -63,6 +64,7 @@
%patch6 -p1 -b .20050122
%patch7 -p1 -b .xterm-kbs
%patch8 -p1 -b .filter
+%patch9 -p1 -b .endwinfilter
%build
CFLAGS="%{optflags} -DPURE_TERMINFO -DSVR4_CURSES"
@@ -169,6 +171,11 @@
rm -rf ${RPM_BUILD_ROOT}
%changelog
+* Fri Sep 30 2005 5.4-19 <praszyk at redhat.com> 5.4-21
+- Clear window after: filter()+'terminal-resizing'+endwin()+
+ doupdate()+endwin()
+ See bug #174498, patch ncurses-5.4-endwinfilter.patch
+
* Fri Nov 18 2005 Bill Nottingham <notting at redhat.com> 5.4-20
- fix location for resize in ncurses-resetall.sh
More information about the fedora-cvs-commits
mailing list