libedit/libedit-3.0-sigwinch.patch
Jerry James 52edeba194 * Mon Feb 7 2011 Jerry James <loganjerry@gmail.com> - 3.0-2.20100424cvs
- Update to 3.0 (20100424 snap)
- Enable wide-character (Unicode) support
2011-02-07 22:04:21 -07:00

13 lines
393 B
Diff

--- libedit-20100424-3.0/src/read.c.sigwinch 2010-04-22 14:09:52.000000000 -0600
+++ libedit-20100424-3.0/src/read.c 2011-02-05 18:16:19.007277633 -0700
@@ -325,6 +325,9 @@
sig_set(el);
el_set(el, EL_REFRESH);
goto again;
+ } else if (el->el_signal->sig_no == SIGWINCH) {
+ sig_set(el);
+ goto again;
}
if (!tried && read__fixio(el->el_infd, errno) == 0)
tried = 1;