Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243754 - dev-util/cscope-15.6 dies when window size changes in linemode
Summary: dev-util/cscope-15.6 dies when window size changes in linemode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-24 01:03 UTC by Michael Hordijk
Modified: 2008-10-24 19:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
SIGWINCH linemode patch (cscope-sigwinch-linemode.patch,1.06 KB, patch)
2008-10-24 01:04 UTC, Michael Hordijk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.