Menu

#180 Dir.c broken for CYGWin...

closed-wont-fix
None
5
2006-03-13
2006-03-12
Anonymous
No
            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.

Discussion

  • Hans-Bernhard Broeker

    • assigned_to: nobody --> broeker
    • status: open --> closed-wont-fix
     
  • Hans-Bernhard Broeker

    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.

     

Log in to post a comment.