rpms/libedit/F-13 libedit-3.0-sigwinch.patch, NONE, 1.1 libedit.spec, 1.16, 1.17
Kamil Dudka
kdudka at fedoraproject.org
Tue Mar 30 11:41:29 UTC 2010
Author: kdudka
Update of /cvs/extras/rpms/libedit/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20161
Modified Files:
libedit.spec
Added Files:
libedit-3.0-sigwinch.patch
Log Message:
- fix to not break the read loop on SIGWINCH (#575383)
libedit-3.0-sigwinch.patch:
read.c | 3 +++
1 file changed, 3 insertions(+)
--- NEW FILE libedit-3.0-sigwinch.patch ---
--- libedit-20090923-3.0/src/read.c.sigwinch 2009-09-23 22:04:26.000000000 +0100
+++ libedit-20090923-3.0/src/read.c 2010-03-19 20:47:46.000000000 +0000
@@ -301,6 +301,9 @@ read_char(EditLine *el, char *cp)
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;
Index: libedit.spec
===================================================================
RCS file: /cvs/extras/rpms/libedit/F-13/libedit.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- libedit.spec 17 Nov 2009 21:29:27 -0000 1.16
+++ libedit.spec 30 Mar 2010 11:41:29 -0000 1.17
@@ -3,16 +3,19 @@
Summary: The NetBSD Editline library
Name: libedit
Version: 3.0
-Release: 1.%{snap}cvs%{?dist}
+Release: 2.%{snap}cvs%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://www.thrysoee.dk/editline/
Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
+# bz #575383
+Patch1: libedit-3.0-sigwinch.patch
+
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires: gawk
-BuildRequires: ncurses-devel
+BuildRequires: gawk
+BuildRequires: ncurses-devel
%description
Libedit is an autotool- and libtoolized port of the NetBSD Editline library.
@@ -32,6 +35,7 @@ This package contains development files
%prep
%setup -q -n %{name}-%{snap}-%{version}
+%patch1 -p1
# Suppress rpmlint error.
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
@@ -76,6 +80,10 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/editline/readline.h
%changelog
+* Tue Mar 30 2010 Kamil Dudka <kdudka at redhat.com> 3.0-2.20090923cvs
+- fix to not break the read loop on SIGWINCH, patch contributed
+ by Edward Sheldrake (#575383)
+
* Tue Nov 27 2009 Tom "spot" Callaway <tcallawa at redhat.com> 3.0-1.20090923cvs
- Update to 3.0 (20090923 snap)
More information about the scm-commits
mailing list