* glob.c: Eliminate __INSIDE_CYGWIN__ preprocessor conditionals
throughout.
This commit is contained in:
parent
b1897d27a8
commit
036ac6b3a2
|
@ -1,3 +1,8 @@
|
||||||
|
2003-03-19 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* glob.c: Eliminate __INSIDE_CYGWIN__ preprocessor conditionals
|
||||||
|
throughout.
|
||||||
|
|
||||||
2003-03-19 Corinna Vinschen <corinna@vinschen.de>
|
2003-03-19 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Fix
|
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Fix
|
||||||
|
|
|
@ -97,11 +97,7 @@ __weak_alias(__globfree13,___globfree13);
|
||||||
#ifdef __LIBC12_SOURCE__
|
#ifdef __LIBC12_SOURCE__
|
||||||
#define STAT stat12
|
#define STAT stat12
|
||||||
#else
|
#else
|
||||||
#if defined (__INSIDE_CYGWIN__)
|
|
||||||
#define STAT __stat64
|
#define STAT __stat64
|
||||||
#else
|
|
||||||
#define STAT stat
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DOLLAR '$'
|
#define DOLLAR '$'
|
||||||
|
@ -847,11 +843,7 @@ g_lstat(fn, sb, pglob)
|
||||||
stat32_to_STAT (&lsb, sb);
|
stat32_to_STAT (&lsb, sb);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#ifdef __INSIDE_CYGWIN__
|
|
||||||
return(lstat64(buf, sb));
|
return(lstat64(buf, sb));
|
||||||
#else
|
|
||||||
return(lstat(buf, sb));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -873,11 +865,7 @@ g_stat(fn, sb, pglob)
|
||||||
stat32_to_STAT (&lsb, sb);
|
stat32_to_STAT (&lsb, sb);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#ifdef __INSIDE_CYGWIN__
|
|
||||||
return(stat64(buf, sb));
|
return(stat64(buf, sb));
|
||||||
#else
|
|
||||||
return(stat(buf, sb));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static Char *
|
static Char *
|
||||||
|
|
Loading…
Reference in New Issue