Dmitry Potapov wrote: [snip] > It appears that the second 'stat' for files on Windows caused by lack > of d_type in dirent. When I recompiled the Linux version with > NO_D_TYPE_IN_DIRENT = YesPlease, I got the same result for files. I believe that the next version of cygwin, currently in beta, will have the d_type field in dirent. I know that's not much help now... (I don't think it would be a good idea to try and reto-fit d_type, ala compat/mingw.[ch], since cygwin does some funky stuff behind the scenes). Nice profiling BTW. ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html