Bug 243754 - dev-util/cscope-15.6 dies when window size changes in linemode
Bug#: 243754 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vim@gentoo.org Reported By: hoffbrinkle@hotmail.com
Component: Ebuilds
URL: 
Summary: dev-util/cscope-15.6 dies when window size changes in linemode
Keywords:  
Status Whiteboard: 
Opened: 2008-10-24 01:03 0000
Description:   Opened: 2008-10-24 01:03 0000
When running cscope from within Vim, window resizes cause cscope to crash. 
This has been fixed in upstream, but not yet released.  This patch has been
used by
other distros to fix the issue until the next version of cscope is released.

Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Michael Hordijk 2008-10-24 01:04:15 0000 -------
Created an attachment (id=169658) [details]
SIGWINCH linemode patch

------- Comment #2 From Ulrich Müller 2008-10-24 16:03:10 0000 -------
> Created an attachment (id=169658) [edit] [details]
> SIGWINCH linemode patch

In upstream CVS that piece of code was inserted after the two "signal" calls:
<http://cscope.cvs.sourceforge.net/viewvc/cscope/cscope/src/main.c?r1=1.42&r2=1.43&diff_format=u>
while in your patch it is before.

Which is better?

------- Comment #3 From Michael Hordijk 2008-10-24 18:32:47 0000 -------
May as well go with the upstream one.  I was just going to include a link in
the
first place, but for some reason I didn't.

------- Comment #4 From Ulrich Müller 2008-10-24 19:22:25 0000 -------
Fixed in cscope-15.6-r3.
Thanks for reporting.