[MacPorts] #18239: workaround for cscope crashes inside vim

MacPorts noreply at macports.org
Tue Jan 27 15:18:09 PST 2009


#18239: workaround for cscope crashes inside vim
-------------------------------+--------------------------------------------
 Reporter:  jcduell@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:  Port Bugs                            
Component:  ports              |     Version:  1.7.0                                
 Keywords:  cscope vim         |        Port:  cscope                               
-------------------------------+--------------------------------------------
 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

-- 
Ticket URL: <http://trac.macports.org/ticket/18239>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list