search for: log_recv

Displaying 9 results from an estimated 9 matches for "log_recv".

Did you mean: log_read
2004 Aug 27
2
Extending --log-format
Hi, I'd like to extend rsync's --log-format to be more detailed and ultimately work in --dry-run mode. While i need both of these enhancements, i would rather not maintain such mods over time for our local use, so before i work on this, i'd like to hear back that this is indeed desirable/desired, as well as any advice, suggestion or feedback you may have in the hope to see this
2002 Apr 03
3
metadata in dryrun mode
As I reported a while back rsync doesn't handle metadata (permissions and ownership) in dryrun mode. I offered to make a patch and that offer still stands. I didn't have the time for it until now and want to pick it up again. I had some ugly hack back then but I want to redo it in a clean way. I would like some input on my thoughts. IMHO, it would be ideally if the check for dry_run
2003 Nov 17
0
[PATCH] --source-filter && --dest-filter for rsync 2.5.6
...file->length); + if (dest_filter) { + close(fd2); + wait_process(pid, &status); + if (status != 0) { + rprintf(FERROR,"filter %s exited code: %d\n", + dest_filter, status); + if (buf) unmap_file(buf); + if (fd1 != -1) close(fd1); + continue; + } + } + log_recv(file, &initial_stats); if (buf) unmap_file(buf); if (fd1 != -1) { close(fd1); } - close(fd2); + if (! dest_filter) { + close(fd2); + } if (verbose > 2) rprintf(FINFO,"renaming %s to %s\n",fnametmp,fname); diff -ur rsync-2.5.6/rsync.1 rsync-2.5.6-fil...
2003 Feb 22
1
rsync ported to BeOS-bone
...recv_data(f_in,buf,-1,NULL,file->length); if (buf) unmap_file(buf); if (fd1 != -1) close(fd1); continue; @@ -449,7 +449,7 @@ } /* recv file data */ - recv_ok = receive_data(f_in,buf,fd2,fname,file->length); + recv_ok = recv_data(f_in,buf,fd2,fname,file->length); log_recv(file, &initial_stats); --- rsync-2.5.6.org/batch.c Tue Dec 24 08:42:04 2002 +++ rsync-2.5.6/batch.c Fri Feb 21 16:45:47 2003 @@ -8,6 +8,10 @@ #include "rsync.h" #include <time.h> +#ifndef S_IEXEC +# define S_IEXEC 0x040 +#endif + extern char *batch_prefix; struct fil...
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...95,7 +506,12 @@ } /* recv file data */ - recv_ok = receive_data(f_in,buf,fd2,fname,file->length); +#ifdef HAVE_LINK + if (link_by_hash_dir) { + file->sum = (char*)malloc (MD4_SUM_LENGTH); + } +#endif + recv_ok = receive_data(f_in,buf,fd2,fname,file->length,file->sum); log_recv(file, &initial_stats); patchwork diff rsync.h --- rsync.h 2004-02-09 15:42:40.000000000 -0500 +++ rsync.h 2004-02-09 15:42:40.000000000 -0500 @@ -453,6 +453,13 @@ int num_transferred_files; }; +struct hashfile_struct { + struct hashfile_struct *next; + struct hashfile_struct *prev; + c...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...12 @@ } /* recv file data */ - recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length); +#ifdef HAVE_LINK + if (link_by_hash_dir) { + file->u.sum = (char*)malloc (MD4_SUM_LENGTH); + } +#endif + recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length,file->u.sum); log_recv(file, &initial_stats); patchwork diff rsync.c --- rsync.c 2004-02-23 10:22:51.000000000 -0500 +++ rsync.c 2004-02-23 10:27:15.000000000 -0500 @@ -33,6 +33,7 @@ extern int preserve_gid; extern int preserve_perms; extern int make_backups; +extern char *link_by_hash_dir; /* @@ -236,6 +23...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...12 @@ } /* recv file data */ - recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length); +#ifdef HAVE_LINK + if (link_by_hash_dir) { + file->u.sum = (char*)malloc (MD4_SUM_LENGTH); + } +#endif + recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length,file->u.sum); log_recv(file, &initial_stats); patchwork diff rsync.c --- rsync.c 2004-02-17 10:36:44.000000000 -0500 +++ rsync.c 2004-02-17 10:43:07.000000000 -0500 @@ -33,6 +33,7 @@ extern int preserve_gid; extern int preserve_perms; extern int make_backups; +extern char *link_by_hash_dir; /* @@ -234,13 +2...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...12 @@ } /* recv file data */ - recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length); +#ifdef HAVE_LINK + if (link_by_hash_dir) { + file->u.sum = (char*)malloc (MD4_SUM_LENGTH); + } +#endif + recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length,file->u.sum); log_recv(file, &initial_stats); patchwork diff rsync.c --- rsync.c 2004-02-23 10:22:51.000000000 -0500 +++ rsync.c 2004-02-23 12:49:33.000000000 -0500 @@ -33,6 +33,7 @@ extern int preserve_gid; extern int preserve_perms; extern int make_backups; +extern char *link_by_hash_dir; /* @@ -236,8 +23...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...12 @@ } /* recv file data */ - recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length); +#ifdef HAVE_LINK + if (link_by_hash_dir) { + file->u.sum = (char*)malloc (MD4_SUM_LENGTH); + } +#endif + recv_ok = receive_data(f_in,mapbuf,fd2,fname,file->length,file->u.sum); log_recv(file, &initial_stats); patchwork diff rsync.c --- rsync.c 2004-02-16 10:24:40.000000000 -0500 +++ rsync.c 2004-02-16 11:28:56.000000000 -0500 @@ -33,6 +33,7 @@ extern int preserve_gid; extern int preserve_perms; extern int make_backups; +extern char *link_by_hash_dir; /* @@ -231,6 +23...