Menu

#229 -I options doesn't handle symbolic link

None
closed-wont-fix
nobody
None
5
2020-01-29
2008-06-10
Runhui Xie
No

When using "-I dirname" to include header directory, if dirname is a symbolic link, cscope won't find the files there. eg.

test.c:
<code>
include "inc.h"
</code>

where inc.h is in /dir and /dirname is a symlink to /dir, then "cscope -I /dirname" won't read /dir

My system:
Linux tselap 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux

Discussion

  • Hans-Bernhard Broeker

    A good while ago, we decided to err on the side of caution regarding the problem of infinitely recursive symlinks --- so we reject symlinks outright.

     
  • Hans-Bernhard Broeker

    • status: open --> closed-wont-fix
    • Group: -->
     

Log in to post a comment.