#18239 closed defect (fixed)
workaround for cscope crashes inside vim
Reported by: | jcduell@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | vim | Cc: | |
Port: | cscope |
Description
Right now macport's cscope will die if run within vim and the user resizes the xterm window (i.e a sigwinch signal is received).
To reproduce: 1) generate a cscope database (cscope -b) in a directory with at least one .c file; 2) run vim and do ":cs add cscope.out"; 3) try some searches, or just "ps" to see that cscope is alive and well; 4) resize the window, and repeat step 3. Cscope will have died.
This bug is fixed in the CVS head of cscope, but it is not in the current release (15.6). The attached patch applies the CVS fix to the 15.6 source tree.
I've reported this bug to the cscope maintainers, and encouraged them to put out a new release (it's been 2.5 years since the last one). But that may not happen any time soon, and so I encourage you guys apply this patch so the macports version doesn't crash anymore.
Cheers,
Jason Duell Mozilla
Attachments (1)
Change History (5)
Changed 16 years ago by jcduell@…
Attachment: | winchpatch added |
---|
comment:1 Changed 16 years ago by dbevans (David B. Evans)
Keywords: | cscope removed |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Assign to maintainer.
comment:2 Changed 16 years ago by jcduell@…
We have released cscope 15.7 (available at http://cscope.sourceforge.net/). It contains the fix for the sigwinch crash. So the best solution at this point is just to upgrade macports to use the new release.
comment:3 Changed 16 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
cscope has already been updated to 15.7 in r46363.
patch to fix cscope sigwinch crashes. Applies to src/main.c