* util/grub-fstest.c: Don't check for symlinks on windows.
This commit is contained in:
parent
7f68269ad3
commit
fc46e9fca8
2 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue