Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 243754

Summary: dev-util/cscope-15.6 dies when window size changes in linemode
Product: Gentoo Linux Reporter: Michael Hordijk <hoffbrinkle>
Component: New packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED FIXED    
Severity: normal CC: emacs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: SIGWINCH linemode patch

Description Michael Hordijk 2008-10-24 01:03:48 UTC
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 Michael Hordijk 2008-10-24 01:04:15 UTC
Created attachment 169658 [details, diff]
SIGWINCH linemode patch
Comment 2 Ulrich Müller gentoo-dev 2008-10-24 16:03:10 UTC
> Created an attachment (id=169658) [edit]
> 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 Michael Hordijk 2008-10-24 18:32:47 UTC
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 Ulrich Müller gentoo-dev 2008-10-24 19:22:25 UTC
Fixed in cscope-15.6-r3.
Thanks for reporting.