From fc46e9fca8308299cd2ecb80e9eac60a06700a62 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Thu, 22 Aug 2013 16:13:25 +0200 Subject: [PATCH] * util/grub-fstest.c: Don't check for symlinks on windows. --- ChangeLog | 4 ++++ util/grub-fstest.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index d2b86d854..cba3f22c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-22 Vladimir Serbinenko + + * util/grub-fstest.c: Don't check for symlinks on windows. + 2013-08-22 Vladimir Serbinenko * INSTALL: Mention unavailability of man pages when cross-compiling. diff --git a/util/grub-fstest.c b/util/grub-fstest.c index aa2ef7a13..47561ce81 100644 --- a/util/grub-fstest.c +++ b/util/grub-fstest.c @@ -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); }