Johannes Schindelin, Mon, Jul 21, 2008 20:20:43 +0200: > Hi, > > On Mon, 21 Jul 2008, Alex Riesen wrote: > > > For example - Cygwin. > > Please enhance: your oneline is too long, and your commit message body too > short. Well, I'm really not sure. I just found this difference between linux and cygwin (st_stat is 0 for dirs on cygwin). Than I noticed that the routine where I made the change explicitely checks for st_size not being 0. I must admit I can't make much out of comment, and hope this discussion will help to clear the check up. > > Can MSys folks please try it? I noticed it when the test > > t2103-update-index-ignore-missing.sh (the 5th case) started failing. > > Since M$' documentation says "This member does not have a meaning for > directories." about the member nFileSizeLow of WIN32_FILE_ATTRIBUTE_DATA > which we use to implement a sane "lstat()", I think this bug hits MinGW > (not MSys) as well. Could you, just for completeness, try? I don't have mingw at hand and SUSv3 (http://www.opengroup.org/onlinepubs/009695399/toc.htm) does not tells much too. No UNIX system I know about has it 0 for directories. -- 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