Ticket #18239 (closed defect: fixed)
workaround for cscope crashes inside vim
|Reported by:||jcduell@…||Owned by:||mww@…|
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.
Jason Duell Mozilla
- Keywords cscope removed
- Owner changed from macports-tickets@… to mww@…