delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/12/01:18:42

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Gmane User <fma AT doe DOT carleton DOT ca>
Subject: Re: "cscope -d" can't find trailer offset if path contains space
Date: Fri, 12 Jan 2007 01:16:32 -0500
Lines: 43
Message-ID: <eo796u$fls$1@sea.gmane.org>
References: <b4376ea40701031354q5adc519eg1d672c800fa85ef7 AT mail DOT gmail DOT com> <b4376ea40701031356p79d37499k12f1d97b01188aeb AT mail DOT gmail DOT com> <45A5BE04 DOT 1030301 AT kringlecottage DOT com> <45A5C74D DOT 8050106 AT ieee DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
In-Reply-To: <45A5C74D.8050106@ieee.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

By the way, Dave, if you're going to be poking & prodding mlscope, I was
wondering if you might have time to look at a problem with its interface
with vim.  Mlscope works find from the command line, but simply hangs
when I do a symbol search from within vim.  Vim works fine with
non-ml-cscope, however.  I believe I read in the cygwin archives that it
had to do with the format of the records returned by the mlscope search.
 Thanks if you can spare the time to look at it.  Otherwise, thanks for
the thought.


Fred Ma wrote:
> Thanks.  Here's some further info:
> http://groups.google.ca/group/comp.editors/msg/7ffc56871c614f4b
> 
> 
> Dave & Diane wrote:
>> Sorry for the delay - let me take a look at this in more detail. Given 
>> the sleuthing you've done I'll probably have to go back to the cscope 
>> owner at Bell-Labs.
>>
>> Will keep you posted.
>>
>> Dave
>> [mlcscope maintainer for cygwin]
>>
>>
>> Fred Ma wrote:
>>
>>> Bug fix request submitted for cscope via sourceforge:
>>>
>>> This problem arose when using vim, but also appears when using "cscope
>>> -d".  I get the error "cannot read trailer offset from file
>>> cscope.out".  I browsed build.c to find that it is caused when reading
>>> in a single number with fscanf.  To see what could be confusing
>>> fscanf, I found the context of the "trailer offset" from
>>> http://www1.bell-labs.com/project/wwexptools/cscope/cscope.html, which
>>> shows that the number to be read occupies a single line along with
>>> other space-delimited data, including the specification of the current
>>> directory.  The space delimiting will get messed up if the current
>>> directory contains spaces, which is often the case in Windows and
>>> Cygwin (though it can also be the case in *nix).  P.S.: It also
>>> happens with mlcscope.
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019