Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The patches for 3.0.0pre8.
[rsync/rsync-patches.git]
/
preallocate.diff
diff --git
a/preallocate.diff
b/preallocate.diff
index
f59b856
..
f5f21a4
100644
(file)
--- a/
preallocate.diff
+++ b/
preallocate.diff
@@
-19,8
+19,8
@@
diff --git a/configure.in b/configure.in
- extattr_get_link sigaction sigprocmask setattrlist)
+ extattr_get_link sigaction sigprocmask setattrlist posix_fallocate)
- extattr_get_link sigaction sigprocmask setattrlist)
+ extattr_get_link sigaction sigprocmask setattrlist posix_fallocate)
- AC_CHECK_FUNCS(getpgrp tcgetpgrp)
- if test
$ac_cv_func_getpgrp = yes
; then
+ dnl cygwin iconv.h defines iconv_open as libiconv_open
+ if test
x"$ac_cv_func_iconv_open" != x"yes"
; then
diff --git a/options.c b/options.c
--- a/options.c
+++ b/options.c
diff --git a/options.c b/options.c
--- a/options.c
+++ b/options.c
@@
-224,7
+224,7
@@
diff --git a/util.c b/util.c
extern int module_id;
extern int modify_window;
extern int relative_paths;
extern int module_id;
extern int modify_window;
extern int relative_paths;
-@@ -27
2,6 +273
,10 @@ int copy_file(const char *source, const char *dest, int ofd,
+@@ -27
3,6 +274
,10 @@ int copy_file(const char *source, const char *dest, int ofd,
int ifd;
char buf[1024 * 8];
int len; /* Number of bytes read into `buf'. */
int ifd;
char buf[1024 * 8];
int len; /* Number of bytes read into `buf'. */
@@
-235,7
+235,7
@@
diff --git a/util.c b/util.c
if ((ifd = do_open(source, O_RDONLY, 0)) < 0) {
rsyserr(FERROR_XFER, errno, "open %s", full_fname(source));
if ((ifd = do_open(source, O_RDONLY, 0)) < 0) {
rsyserr(FERROR_XFER, errno, "open %s", full_fname(source));
-@@ -29
3,7 +298
,27 @@ int copy_file(const char *source, const char *dest, int ofd,
+@@ -29
4,7 +299
,27 @@ int copy_file(const char *source, const char *dest, int ofd,
}
}
}
}
@@
-263,7
+263,7
@@
diff --git a/util.c b/util.c
if (full_write(ofd, buf, len) < 0) {
rsyserr(FERROR_XFER, errno, "write %s", full_fname(dest));
close(ifd);
if (full_write(ofd, buf, len) < 0) {
rsyserr(FERROR_XFER, errno, "write %s", full_fname(dest));
close(ifd);
-@@ -31
4,6 +339
,16 @@ int copy_file(const char *source, const char *dest, int ofd,
+@@ -31
5,6 +340
,16 @@ int copy_file(const char *source, const char *dest, int ofd,
full_fname(source));
}
full_fname(source));
}