mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
* util/grub-fstest.c: Don't check for symlinks on windows.
This commit is contained in:
1 parent
7f68269ad3
commit
fc46e9fca8
2 files changed
+6
No files matched your search
@@ -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>
|
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* INSTALL: Mention unavailability of man pages when cross-compiling.
|
* INSTALL: Mention unavailability of man pages when cross-compiling.
|
||||||
|
|||||||
@@ -296,9 +296,11 @@ cmd_cmp (char *src, char *dest)
|
|||||||
*ptr++ = '/';
|
*ptr++ = '/';
|
||||||
strcpy (ptr, entry->d_name);
|
strcpy (ptr, entry->d_name);
|
||||||
|
|
||||||
|
#if !defined (_WIN32) || defined (__CYGWIN__)
|
||||||
if (lstat (destnew, &st) == -1 || (!S_ISREG (st.st_mode)
|
if (lstat (destnew, &st) == -1 || (!S_ISREG (st.st_mode)
|
||||||
&& !S_ISDIR (st.st_mode)))
|
&& !S_ISDIR (st.st_mode)))
|
||||||
continue;
|
continue;
|
||||||
|
#endif
|
||||||
|
|
||||||
cmd_cmp (srcnew, destnew);
|
cmd_cmp (srcnew, destnew);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user