From: Hans-Bernhard B. <HBB...@t-...> - 2014-04-07 21:05:07
|
On 07.04.2014 14:42, Gerhard Sittig wrote: > So there are valid reasons to not process those filesystem > entries. Would it be useful to not emit the warnings then? The warnings wouldn't even appear if cscope were allowed to do the tree traversal by itself. I.e. cscope -R already skips symlinks silently, without emitting any warnings (see issrcfile() testing for S_ISREG()). You only get those warnings if cscope was explicitly told, by way of a name list file (cscope.index, or -i option), to index a given set of files, and there are symlinks in that list. All you would have to do is keep the symlinks out of that name list file. I don't see a need for a change in cscope here. The desired behaviour can be had without changing cscope. |