Displaying 9 results from an estimated 9 matches for "full_flush".
Did you mean:
null_flush
2006 Sep 18
1
code 23 error.
...rse || list_only)) {
argc = 1;
argv--;
argv[0] = ".";
}
flist = send_file_list(f_out,argc,argv);
if (!flist || flist->count == 0) {
exit_cleanup(0);
}
the_file_list = flist;
io_start_buffering_in();
io_start_buffering_out();
send_files(flist,f_out,f_in);
io_flush(FULL_FLUSH);
handle_stats(f_out);
if (protocol_version >= 24)
read_final_goodbye(f_in, f_out);
io_flush(FULL_FLUSH);
exit_cleanup(0);
}
**************************snip**********************************
**************************************************************************
The preceding messag...
2004 May 10
2
read error produces null-byte-filled destination file
I've run into a bug in the IO handling when reading a file. Suppose I
have a file that lives on an NFS filesystem. That filesystem is NOT
being exported with auth=0 permissions. So, if I try to access a file
as root, it successfully opens the file, but subsequent reads fail with
EACCES. This produces a destination file full of null bytes. I
noticed this with 2.5.7, but checked 2.6.2 as
2005 Sep 23
1
Unexplained error
Hello,
I like to use rsync to transfer over mine and other peoples ever changing
mail folder onto a remote server.
My Server (FreeBSD 5.4) RSYNC Version is: 2.6.6 Protocol Version 29
My Client (OSX 10.4.2) RSYNC Version is: 2.6.3 Protocol Version 28
I use this command
rsync -vvv --progress --stats --recursive --times \
--perms --links \
--delete /test/my?email?folder/*
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...53,6 +1056,10 @@ static int do_recv(int f_in, int f_out, char *local_name)
io_start_buffering_in(f_in);
io_start_multiplex_out(f_out);
+ /* Reopen log file for --log-after */
+ if (log_after_transfer)
+ logfile_name = logafter_name;
+
recv_files(f_in, f_out, local_name);
io_flush(FULL_FLUSH);
handle_stats(f_in);
diff --git a/options.c b/options.c
index fd674754..4ab83650 100644
--- a/options.c
+++ b/options.c
@@ -176,7 +176,9 @@ char *basis_dir[MAX_BASIS_DIRS+1];
char *config_file = NULL;
char *shell_cmd = NULL;
char *logfile_name = NULL;
+char *logafter_name = NULL;
char *logf...
2004 Jul 12
2
[PATCH] Batch-mode rewrite
...ead_batch)
- create_flist_from_batch(); /* sets batch_flist */
ret = local_child(argc, args, f_in, f_out, child_main);
} else {
ret = piped_child(args,f_in,f_out);
--- 321,326 ----
***************
*** 461,466 ****
--- 480,491 ----
recv_files(f_in,flist,local_name);
io_flush(FULL_FLUSH);
+
+ /* This test for read_batch is needed because of a
+ * protocol dependency on am_server state, see
+ * report(). We are quite fortunate that this
+ * workaround is not more complicated. */
+ if (!read_batch)
report(f_in);
send_msg(MSG_DONE, "", 0);
*******...
2004 Jan 25
2
scan for first existing hard-link file
...ere
+ * modified during the transfer */
+ for (i = 0; i < flist->count; i++) {
+ struct file_struct *file = flist->files[i];
+ if (!file->basename || !S_ISDIR(file->mode)) continue;
+ recv_generator(local_name ? local_name : f_name(file),
+ file, i, -1);
+ }
+
io_flush(FULL_FLUSH);
if (protocol_version >= 24) {
/* send a final goodbye message */
--- receiver.c 24 Jan 2004 22:12:58 -0000 1.67
+++ receiver.c 25 Jan 2004 09:23:56 -0000
@@ -479,18 +479,6 @@ int recv_files(int f_in,struct file_list
&& flist->count > 0)
delete_files(flist);
- if (...
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
...server(int f_in, int f_out, i
io_start_multiplex_out(f_out);
if (am_sender) {
+ if (need_messages_from_generator)
+ io_start_multiplex_in(f_in);
if (!read_batch) {
recv_exclude_list(f_in);
if (cvs_exclude)
@@ -623,6 +626,9 @@ int client_run(int f_in, int f_out, pid_
io_flush(FULL_FLUSH);
exit_cleanup(status);
}
+
+ if (need_messages_from_generator)
+ io_start_multiplex_out(f_out);
if (argc == 0) {
list_only = 1;
Index: options.c
--- options.c 15 Jan 2004 17:43:34 -0000 1.124
+++ options.c 17 Jan 2004 05:04:55 -0000
@@ -81,12 +81,14 @@ int copy_unsafe_links=0;
int si...
2004 May 29
1
[patch] Filename conversion
...ameconv.clean/cleanup.c
--- rsync-2.6.2/cleanup.c 2004-01-27 10:14:33.000000000 +0200
+++ rsync-2.6.2-fnameconv.clean/cleanup.c 2004-05-29 21:17:08.000000000 +0300
@@ -119,6 +119,7 @@ void _exit_cleanup(int code, const char
finish_transfer(cleanup_new_fname, fname, cleanup_file);
}
io_flush(FULL_FLUSH);
+ cleanup_fname_convert();
if (cleanup_fname)
do_unlink(cleanup_fname);
if (code) {
diff -rupNP rsync-2.6.2/errcode.h rsync-2.6.2-fnameconv.clean/errcode.h
--- rsync-2.6.2/errcode.h 2003-12-15 10:04:14.000000000 +0200
+++ rsync-2.6.2-fnameconv.clean/errcode.h 2004-05-29 21:17:08.000000000...
2004 Feb 06
4
memory reduction
...)
+ {
+ pool_destroy(flist->hlink_pool);
+ flist->hlink_pool = NULL;
+ }
+
while (1) {
cleanup_disable();
diff -rupNP --exclude-from cvs/.ignore cvs/rsync.h pool2/rsync.h
--- cvs/rsync.h Wed Feb 4 15:04:10 2004
+++ pool2/rsync.h Thu Feb 5 14:18:32 2004
@@ -112,8 +112,12 @@
#define FULL_FLUSH 1
#define NORMAL_FLUSH 0
-#define CLEAR_STRUCT 0
-#define FREE_STRUCT 1
+#if HAVE_LINK
+#define WITH_HLINK 1
+#else
+#define WITH_HLINK 0
+#endif
+#define WITHOUT_HLINK 0
/* Log-message categories. FLOG is only used on the daemon side to
* output messages to the log file. */
@@ -254,6 +258...