* util/grub-fstest.c: Don't check for symlinks on windows.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-22 16:13:25 +02:00
parent 7f68269ad3
commit fc46e9fca8
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-fstest.c: Don't check for symlinks on windows.
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
* INSTALL: Mention unavailability of man pages when cross-compiling.

View file

@ -296,9 +296,11 @@ cmd_cmp (char *src, char *dest)
*ptr++ = '/';
strcpy (ptr, entry->d_name);
#if !defined (_WIN32) || defined (__CYGWIN__)
if (lstat (destnew, &st) == -1 || (!S_ISREG (st.st_mode)
&& !S_ISDIR (st.st_mode)))
continue;
#endif
cmd_cmp (srcnew, destnew);
}