2011/9/1 Hans-Bernhard Bröker <hbbroe...@t-online.de> > On 31.08.2011 11:54, rahul patil wrote: > >> 2011/8/31 Hans-Bernhard Bröker<hbbroe...@t-online.de> >> >>> On 30.08.2011 15:58, rahul patil wrote: >>> >> > I have read and write permission for all the files in the mount. I have >> mounted share using mount.cifs. >> > > Could there be some ACLs or Windows-side permission issues you're misssing? > > > I used following command to add files explicitly >> $cscope -Rb `find -name \*.c` >> but it is giving error that "cscope: cannot find file >> unittests/internal/sgx_**subtwiddling_test/sgx_**subtwiddling_test.c" >> (similar error for all the files in the source code). >> > > Which directory along that path is the mount point of your Windows network > share? > > Do _all_ files fail like that, or only some of them? > > Could you try to check the full file state for some of those files via the > 'stat' command? cscope does insist on the input being regular files (no > symlinks, no devices, ...). >
I debuged the code and found that lstat(in the function scan_dir) is returning error -27(which is Value too large for defined data type). then i recompiled kernel with xattr and POSIX new config options enabled for CIFS, which solved my problem. Now cscope is able to search the files and working correctly -- Regards, Rahul Patil ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Cscope-devel mailing list Cscope-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cscope-devel