cscope
http://sourceforge.net/p/cscope/bugs/247/
buffer read only? cx cq
Here is a simple patch which re-enables cscope to work with symlinks. Really you were already 99% of the way there to a fix.
IMHO, this should be a command line option (-l) to enable including symlinks. There are many projects which use symlinks and it's perfectly valid in many cases. It's been messing me up for years trying to use the Cavium SDKs.
Here's the patch (this is against 15.8)
--- dir.c.orig 2010-06-28 19:16:50.000000000 -0300
+++ dir.c 2012-08-30 21:56:44.047742152 -0300
@@ -652,7 +652,7 @@ accessible_file(char *file)
struct stat stats;
if (lstat(file, &stats) == 0
- && S_ISREG(stats.st_mode)) {
+ && (S_ISREG(stats.st_mode) || S_ISLNK(stats.st_mode))) {
return YES;
}
}
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步