On 20.06.2013 01:17, tom.mcmil...@l-3com.com wrote: > I’ve been using cscope for many years now, and love it. > > I recently ran into a problem with using cscope on a cifs-mounted > filesystem (a Windows share). lstat() did not fail, but returned a > completely false stat structure. > > It turns out that on my Ubuntu system I need to compile cscope with the > following CFLAGS: > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > There are no large files involved, but the inode is bigger than 32 bits, > which causes all sorts of problems. > > I’d fix it myself, but have no idea where this information would go…
The canonical approach would be to put AC_SYS_LARGEFILE into configure.in. Full large file support would require some thorough rework of the file position handling, though, which might easily break more than it fixes. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Cscope-devel mailing list Cscope-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cscope-devel