]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-fstest.c: Don't check for symlinks on windows.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 22 Aug 2013 14:13:25 +0000 (16:13 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 22 Aug 2013 14:13:25 +0000 (16:13 +0200)
ChangeLog
util/grub-fstest.c

index d2b86d854be191fbad9badc9894107e647e31168..cba3f22c23a25a80fc2cc58df35a7ad44073cb99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index aa2ef7a13d4c84a06d1ed3b60e4f8e58804d9376..47561ce8155d6c2091f380fed248abb703cb5dc5 100644 (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);
        }