Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refer to the old basedir variable as dir.root.
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
8bfc297
..
4a31970
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-212,7
+212,7
@@
int do_mkstemp(char *template, mode_t perms)
int do_stat(const char *fname, STRUCT_STAT *st)
{
int do_stat(const char *fname, STRUCT_STAT *st)
{
-#if
SIZEOF_OFF64_T && HAVE_STRUCT_STAT64
+#if
USE_STAT64_FUNCS
return stat64(fname, st);
#else
return stat(fname, st);
return stat64(fname, st);
#else
return stat(fname, st);
@@
-222,7
+222,7
@@
int do_stat(const char *fname, STRUCT_STAT *st)
int do_lstat(const char *fname, STRUCT_STAT *st)
{
#if SUPPORT_LINKS
int do_lstat(const char *fname, STRUCT_STAT *st)
{
#if SUPPORT_LINKS
-# if
SIZEOF_OFF64_T && HAVE_STRUCT_STAT64
+# if
USE_STAT64_FUNCS
return lstat64(fname, st);
# else
return lstat(fname, st);
return lstat64(fname, st);
# else
return lstat(fname, st);
@@
-234,7
+234,7
@@
int do_lstat(const char *fname, STRUCT_STAT *st)
int do_fstat(int fd, STRUCT_STAT *st)
{
int do_fstat(int fd, STRUCT_STAT *st)
{
-#if
SIZEOF_OFF64_T && HAVE_STRUCT_STAT64
+#if
USE_STAT64_FUNCS
return fstat64(fd, st);
#else
return fstat(fd, st);
return fstat64(fd, st);
#else
return fstat(fd, st);
@@
-243,7
+243,7
@@
int do_fstat(int fd, STRUCT_STAT *st)
OFF_T do_lseek(int fd, OFF_T offset, int whence)
{
OFF_T do_lseek(int fd, OFF_T offset, int whence)
{
-#if SIZEOF_OFF64_T
&& HAVE_STRUCT_STAT64
+#if SIZEOF_OFF64_T
off64_t lseek64();
return lseek64(fd, offset, whence);
#else
off64_t lseek64();
return lseek64(fd, offset, whence);
#else