# HG changeset patch # User Mikael Berthe # Date 1145109301 -7200 # Node ID a6628f0aabc1d7205f13211cbe2ed39921ddc5a5 # Parent 04edcb6d7ee3e6750cbc542246c6bb044501fc56 Skip file permission checks on Cygwin diff -r 04edcb6d7ee3 -r a6628f0aabc1 mcabber/src/utils.c --- a/mcabber/src/utils.c Sat Apr 15 12:14:48 2006 +0200 +++ b/mcabber/src/utils.c Sat Apr 15 15:55:01 2006 +0200 @@ -122,6 +122,11 @@ int fd; struct stat buf; +#ifdef __CYGWIN__ + // Permission checking isn't efficent on Cygwin + return 0; +#endif + fd = lstat(name, &buf); if (fd == -1) return -1;