Przeglądaj źródła

* Ported [2641] to 1.2.9 (CYGWIN fixes)

svn: 2642
Bryan Drewery 20 lat temu
rodzic
commit
c0fab7fd74
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      src/misc_file.c

+ 0 - 4
src/misc_file.c

@@ -146,13 +146,9 @@ int is_dir(const char *s)
 
 int fixmod(const char *s)
 {
-#ifndef CYGWIN_HACKS
   if (!can_stat(s))
     return 1;
   return chmod(s, S_IRUSR | S_IWUSR | S_IXUSR);
-#else
-  return 0;
-#endif /* !CYGWIN_HACKS */
 }
 
 Tempfile::Tempfile()