From: SourceForge.net <no...@so...> - 2007-05-12 21:50:43
|
Support Requests item #1627354, was opened at 2007-01-03 22:48 Message generated for change (Settings changed) made by broeker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=204664&aid=1627354&group_id=4664 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Remind Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Hans-Bernhard Broeker (broeker) Summary: "cscope -d" can't file trailer offset if path contains space Initial Comment: 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). Thanks for anything that can be done. P.S.: It also happens with mlcscope. ---------------------------------------------------------------------- Comment By: Hans-Bernhard Broeker (broeker) Date: 2007-01-05 22:51 Message: Logged In: YES user_id=27517 Originator: NO It's a good deal worse than you currently see. You're looking at the tip of an iceberg. In a nutshell, cscope was never intended for a world where, thanks to Apple and Microsoft and their "GUI is everything" campaigns, people actually believe that spaces belong into path names. They don't. Command line syntax and file formats invented when the world was still sane will now suddenly break, and cscope is one of them. I've finally decided to tackle this, but due to limited free time, this will be slow going. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=204664&aid=1627354&group_id=4664 |