X-Spam-Check-By: sourceware.org X-YMail-OSG: BCI_x8EVM1mMFcDQ_x7zuQKUeYPUa9b1C9dVuYpK_coGe7Ca4IvYwfQ.Yo4QWOAlM0k2x487x2Vo3A_w_MRL1J2KRpxsFGPmx0XXet2MVkNFNc8PKL5bPHwKSpKTcE8irhKzihvlWkdeOB6RjRMPnuO4unYY1N44hqJCr8WZ7zq4xV68.BOpkyBgOJwW Message-ID: <45A5BE04.1030301@kringlecottage.com> Date: Wed, 10 Jan 2007 22:33:08 -0600 From: Dave & Diane User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) MIME-Version: 1.0 To: Fred Ma CC: cygwin AT cygwin DOT com Subject: Re: "cscope -d" can't find trailer offset if path contains space References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi Fred, 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/ > > -- Diane & Dave http://www.velvetstarbears.com/ http://www.kringlecottage.com/ Fortune: The difference between America and England is that the English think 100 miles is a long distance and the Americans think 100 years is a long time. -- 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/