Red Hat Bugzilla – Bug 343671
cscope file list parsing broken when file names contain whitespaces
Last modified: 2008-03-14 09:26:11 EDT
Description of problem:
Cscope is able to read a list of filenames from a file and index them
(cscope.files respective -i switch). If the file names contain spaces they need
to be quoted with double quotes. Sometimes this algorithm chokes and cscope
complains about non existing files with strange names. I guess some files get
not indexed in this case.
It seems that cscope 15.6 contains some fixes - according to the Changelog. So
probably cscope should be updated to the latest upstream version.
Version-Release number of selected component (if applicable):
Here on my very large file list always but I cannot provide a simple case now as
for small test cases it seems to work.
I'll update this in rawhide, since I've been meaning to do it, and you can use
that package on F-7 directly, but F-7 itself is a little long in the tooth for
complete package revisions. I should warn you though, Cscope is an old program,
and was never really intended to handle files with spaces in the names. This
may never be something that works 100%
updated in rawhide, Thanks!