if \(lstat\(path,&buf\) == 0\) \{ file = entry->d\_name; if \(recurse\_dir
&&
S_ISDIR(buf.st_mode) ) {
scan_dir(path, recurse_dir);
}
else if (
#if defined(__DJGPP__) || defined(__CYGWIN__) /* FIXME:
should test for feature, not platform */
1 /* DJGPP doesn't have this field in dirent */
#else
entry->d_ino != 0
#endif
&& issrcfile(mybasename(path))
&& infilelist(path) == NO) {
addsrcfile(path);
}
}
^^^^^^^^^^^^^^^^^^
This is a patch for dir.c - the previous version only
checked for DJGPP which didn't help cygwin.
Logged In: YES
user_id=27517
Dir.c is not broken "for" CYGWIN, it was deliberately broken
*by* CYGWIN's latest revision. They already promised to fix
that in the next one. Given that, I see no good reason to
meddle with the cscope sources.