Resolves: bz 1657210
This commit is contained in:
parent
f8809872a6
commit
5cd1629703
11
cscope-dblfree.patch
Normal file
11
cscope-dblfree.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up ./src/command.c.dblfree ./src/command.c
|
||||||
|
--- ./src/command.c.dblfree 2019-04-11 07:08:24.358253603 -0400
|
||||||
|
+++ ./src/command.c 2019-04-11 07:08:43.955193615 -0400
|
||||||
|
@@ -803,7 +803,6 @@ changestring(void)
|
||||||
|
}
|
||||||
|
changing = NO;
|
||||||
|
mousemenu();
|
||||||
|
- fclose(script);
|
||||||
|
free(change);
|
||||||
|
return(anymarked);
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
Summary: C source code tree search and browse tool
|
Summary: C source code tree search and browse tool
|
||||||
Name: cscope
|
Name: cscope
|
||||||
Version: 15.9
|
Version: 15.9
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||||
URL: http://cscope.sourceforge.net
|
URL: http://cscope.sourceforge.net
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
@ -14,6 +14,8 @@ Requires: emacs-filesystem coreutils
|
|||||||
Requires: xemacs-filesystem
|
Requires: xemacs-filesystem
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Patch1: cscope-dblfree.patch
|
||||||
|
|
||||||
%define cscope_share_path %{_datadir}/cscope
|
%define cscope_share_path %{_datadir}/cscope
|
||||||
%define xemacs_lisp_path %{_datadir}/xemacs/site-packages/lisp
|
%define xemacs_lisp_path %{_datadir}/xemacs/site-packages/lisp
|
||||||
%define emacs_lisp_path %{_datadir}/emacs/site-lisp
|
%define emacs_lisp_path %{_datadir}/emacs/site-lisp
|
||||||
@ -29,6 +31,7 @@ matches for use in file editing.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
autoreconf
|
autoreconf
|
||||||
|
|
||||||
@ -87,6 +90,9 @@ rm -f %{emacs_lisp_path}/xcscope.el
|
|||||||
rm -f %{vim_plugin_path}/cctree.vim
|
rm -f %{vim_plugin_path}/cctree.vim
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 11 2019 Neil Horman <nhorman@redhat.com> - 15.9-3
|
||||||
|
- Fixing double free (bz 1657210)
|
||||||
|
|
||||||
* Mon Dec 10 2018 Neil Horman <nhorman@redhat.com> - 15.9-2
|
* Mon Dec 10 2018 Neil Horman <nhorman@redhat.com> - 15.9-2
|
||||||
- update Requires to include coreutils (bz 1657775)
|
- update Requires to include coreutils (bz 1657775)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user