Selaa lähdekoodia

* Ported [2641] to 1.2.9 (CYGWIN fixes)

svn: 2642
Bryan Drewery 20 vuotta sitten
vanhempi
commit
c0fab7fd74
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  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)
 int fixmod(const char *s)
 {
 {
-#ifndef CYGWIN_HACKS
   if (!can_stat(s))
   if (!can_stat(s))
     return 1;
     return 1;
   return chmod(s, S_IRUSR | S_IWUSR | S_IXUSR);
   return chmod(s, S_IRUSR | S_IWUSR | S_IXUSR);
-#else
-  return 0;
-#endif /* !CYGWIN_HACKS */
 }
 }
 
 
 Tempfile::Tempfile()
 Tempfile::Tempfile()