search for: f_recv

Displaying 10 results from an estimated 10 matches for "f_recv".

2002 Mar 06
0
rsync hangs in read_int (generator.c line 498)
...;,phase); 492 493 write_int(f,-1); 494 495 if (remote_version >= 13) { (gdb) n generate_files phase=1 493 write_int(f,-1); (gdb) n 495 if (remote_version >= 13) { (gdb) print remote_version $1 = 26 (gdb) n 498 for (i=read_int(f_recv); i != -1; i=read_int(f_recv)) { (gdb) n rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) Program exited with code 024. (gdb) So it hangs in read_int ... probably because the server doesn't send anything. Bo...
2003 Mar 22
2
[RFC] protocol version
I'm in the midst of coding a patch set for consideration that will bump the protocol version and have a couple of observations. The current minimum backwards-compatible protocol is 15 but we have code that checks for protocol versions as old as 12. If someone else doesn't beat me to it i'm considering cleaning out the pre-15 compatibility code. A backwards compatibility patch could
2001 Dec 18
3
rsync hang, more details [LONG]
...t io.c:191 #3 0x247dc in read_unbuffered (fd=6, buf=0xeffff348 "????", len=4) at io.c:263 #4 0x24950 in readfd (fd=6, buffer=0xeffff348 "????", N=4) at io.c:316 #5 0x24998 in read_int (f=6) at io.c:329 #6 0x184e8 in generate_files (f=5, flist=0x57520, local_name=0x0, f_recv=6) at generator.c:471 #7 0x1d3fc in do_recv (f_in=4, f_out=5, flist=0x57520, local_name=0x0) at main.c:379 #8 0x1d958 in client_run (f_in=4, f_out=5, pid=22226, argc=1, argv=0x56f74) at main.c:558 #9 0x1ddc0 in start_client (argc=1, argv=0x56f74) at main.c:731 #10 0x1e0...
2002 Sep 25
0
stack overflow
...bfbffb14 "????H????_\004\b\003", len=4) at io.c:274 #212352 0x8056b3a in readfd (fd=3, buffer=0xbfbffb14 "????H????_\004\b\003", N=4) at io.c:329 #212353 0x8056b6f in read_int (f=3) at io.c:342 #212354 0x804b4ba in generate_files (f=1, flist=0x807b110, local_name=0x0, f_recv=3) at generator.c:528 #212355 0x804fec1 in do_recv (f_in=0, f_out=1, flist=0x807b110, local_name=0x0) at main.c:420 #212356 0x80500da in do_server_recv (f_in=0, f_out=1, argc=2, argv=0x8078060) at main.c:491 #212357 0x8050188 in start_server (f_in=0, f_out=1, argc=2, argv=0x8078060)...
2002 Sep 25
0
Rsync Hangs 100% of the time when copying files from win2k machin es to linux
..."\004%", len=3876) at io.c:425 #1 0x8057256 in io_flush () at io.c:538 #2 0x8056d35 in readfd (fd=6, buffer=0xbffff824 "????X???\034?\004\b\006", N=4) at io.c:327 #3 0x8056d7f in read_int (f=6) at io.c:342 #4 0x804b71c in generate_files (f=4, flist=0x807fba8, local_name=0x0, f_recv=6) at generator.c:524 #5 0x805022f in do_recv (f_in=5, f_out=4, flist=0x807fba8, local_name=0x0) at main.c:420 #6 0x80506e4 in client_run (f_in=5, f_out=4, pid=7277, argc=1, argv=0x807f96c) at main.c:599 #7 0x8050ad3 in start_client (argc=2, argv=0x807f968) at main.c:774 #8 0x8050d44 in main (a...
2002 Oct 13
1
rsync 2.5.5 core dump
...0xbfbffb18 "????L???\"?\004\b\003", len=4) at io.c:274 #57 0x8056a6e in readfd (fd=3, buffer=0xbfbffb18 "????L???\"?\004\b\003", N=4) at io.c:329 #58 0x8056aa3 in read_int (f=3) at io.c:342 #59 0x804b522 in generate_files (f=1, flist=0x807b120, local_name=0x0, f_recv=3) at generator.c:524 #60 0x804fef7 in do_recv (f_in=0, f_out=1, flist=0x807b120, local_name=0x0) at main.c:420 #61 0x8050106 in do_server_recv (f_in=0, f_out=1, argc=2, argv=0x8078064) at main.c:491 #62 0x80501b4 in start_server (f_in=0, f_out=1, argc=2, argv=0x8078060) at main.c:519 #...
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...eanup_disable(void); void cleanup_set(char *fnametmp, char *fname, struct file_struct *file, @@ -93,6 +93,7 @@ char *f_name(struct file_struct *f); void recv_generator(char *fname, struct file_list *flist, int i, int f_out); void generate_files(int f,struct file_list *flist,char *local_name,int f_recv); +char * findcomparename(const char* fname, char* buf); int main(int argc, char *argv[]); void init_hard_links(struct file_list *flist); int check_hard_link(struct file_struct *file); @@ -224,7 +225,6 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence); void *do_mmap(void *start, int len, int...
2003 Mar 30
1
[RFC][patch] dynamic rolling block and sum sizes II
...list_new(void); void flist_free(struct file_list *flist); char *f_name(struct file_struct *f); +void write_sum_head(int f, struct sum_struct *sum); void recv_generator(char *fname, struct file_list *flist, int i, int f_out); void generate_files(int f,struct file_list *flist,char *local_name,int f_recv); int main(int argc, char *argv[]); @@ -190,6 +191,7 @@ int report); void sig_int(void); void finish_transfer(char *fname, char *fnametmp, struct file_struct *file); +void read_sum_head(int f, struct sum_struct *sum); void send_files(struct file_list *flist,int f_out,int f_in); int try...
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...2-09 15:42:50.000000000 -0500 +++ proto.h 2004-02-09 15:42:52.000000000 -0500 @@ -90,6 +90,12 @@ void write_sum_head(int f, struct sum_struct *sum); void recv_generator(char *fname, struct file_list *flist, int i, int f_out); void generate_files(int f,struct file_list *flist,char *local_name,int f_recv); +char* make_hash_name(struct file_struct *file); +void kill_hashfile(struct hashfile_struct *hashfile); +void kill_hashfiles(struct hashfile_struct *hashfiles); +struct hashfile_struct *find_hashfiles(char *hashname, int64 size, long *fnbr); +struct hashfile_struct *compare_hashfiles(int fd,struc...
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...le_list *flist); char *f_name(struct file_struct *f); +char *f_name_dst(struct file_struct *f); void write_sum_head(int f, struct sum_struct *sum); void recv_generator(char *fname, struct file_list *flist, int i, int f_out); void generate_files(int f,struct file_list *flist,char *local_name,int f_recv); @@ -142,6 +163,7 @@ char *lp_include(int ); char *lp_include_from(int ); char *lp_log_format(int ); +char *lp_hfs_mode(int ); char *lp_refuse_options(int ); char *lp_dont_compress(int ); int lp_timeout(int ); diff -u rsync-2.6.0/rsync.1 rsync-2.6.0-dar/rsync.1 --- rsync-2.6.0/rsync.1 Thu Ja...