search for: r_fds

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

Did you mean: nr_fds
2007 Oct 14
3
DO NOT REPLY [Bug 5020] New: hang using RSYNC_CONNECT_PROG
...lt;value optimized out>, argv=0x56d998) at main.c:1084 #10 0x00000000004195fc in main (argc=2, argv=0x56d990) at main.c:1256 (gdb) up #1 0x0000000000421d72 in writefd_unbuffered (fd=8, buf=0x56eba0 "", len=4092) at io.c:1442 1442 count = select(maxfd + 1, using_r_fds ? &r_fds : NULL, (gdb) print maxfd $1 = <value optimized out> (gdb) print using_r_fds $2 = 1 (gdb) print r_fds $3 = {fds_bits = {64, 0 <repeats 15 times>}} -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------...
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...*)buf1; read_buf (f,buf,len); buf[len] = 0; } @@ -375,12 +384,14 @@ } /* write len bytes to fd */ -static void writefd_unbuffered(int fd,char *buf,int len) +static void writefd_unbuffered(int fd, const void * buf1,int len) { int total = 0; fd_set w_fds, r_fds; int fd_count, count; struct timeval tv; +unsigned char * buf; + buf = (unsigned char *)buf1; err_list_push(); @@ -469,24 +480,26 @@ } -static char *io_buffer; +static unsigned char *io_buffer; static int io_buffer_count; void io_start_buffering(int fd)...
2002 May 22
2
rsync: race condition can cause loss of diagnostic output
[This is a copy of the contents of Debian bug report #147842.] Package: rsync Version: 2.5.5-0.2 Severity: normal Cause ----- - rsync forks a child which in turn forks a grandchild in main.c:do_recv(). - Diagnostics written by the grandchild need to be read by the child using read_error_fd() to be handled properly (with the end result being that they are seen by the user running rsync). -
2004 Apr 19
3
[PATCH] time limit
...art_time = get_rsync_start_time(); + assert( start_time > 0); + + gettimeofday(&tv, NULL); + expiration_time = start_time + (timelimit * 60); + + return ( tv.tv_sec > expiration_time ) ? 1 : 0; +} /** * Write len bytes to the file descriptor @p fd. @@ -772,6 +793,7 @@ fd_set w_fds, r_fds; int fd_count, count; struct timeval tv; + int time_expired = 0; msg_list_push(NORMAL_FLUSH); @@ -837,6 +859,14 @@ } sleep_for_bwlimit(ret); + if( timelimit ) { + time_expired = has_timelimit_expired(); + if( 1 == time_expired ) { + rprintf(FERROR, RSYNC_NAME ":...
2019 Apr 25
8
[Bug 13913] New: sync a folder with large amount of files
https://bugzilla.samba.org/show_bug.cgi?id=13913 Bug ID: 13913 Summary: sync a folder with large amount of files Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayne at opencoder.net Reporter:
2004 Apr 22
2
[PATCH] --timelimit and --stopat
...} + + if( -1 == stop_time_secs ) { + rprintf(FERROR, "ERROR: mktime() returned -1\n" ); + exit_cleanup(RERR_SYNTAX); + } + + now = time(NULL); + + return ( now > stop_time_secs ) ? 1 : 0; +} /** * Write len bytes to the file descriptor @p fd. @@ -772,6 +825,7 @@ fd_set w_fds, r_fds; int fd_count, count; struct timeval tv; + int time_expired = 0; msg_list_push(NORMAL_FLUSH); @@ -837,6 +891,19 @@ } sleep_for_bwlimit(ret); + + if( timelimit ) { + time_expired = has_timelimit_expired(); + if( 1 == time_expired ) { + rprintf(FERROR, RSYNC_NAME &quot...
2017 Apr 10
3
error allocating core memory buffers (code 22) at util2.c(106) [sender=3.1.2]
Hi: I'm in the middle of recoverying from a tactical error copying around an Mac OS X 10.10.5 Time Machine backup (turns out Apple's instructions aren't great...), and I had rsync running for the past 6 hours repairing permissions/acls on 1.5 TB of data (not copying the data), and then it just died in the middle with: .L....og.... 2015-03-11-094807/platinum-bar2/usr/local/mysql
2017 Apr 14
4
rsync buffer overflow detected
Hello! I use rsync from python on my Debian Jessie amd64 and get this error: *** buffer overflow detected ***: <snip>/rsync terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x731af)[0x7ffff78971af] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7ffff791caa7] /lib/x86_64-linux-gnu/libc.so.6(+0xf6cc0)[0x7ffff791acc0]
2003 Nov 10
8
winbindd panic daemon dies
Hi All, can anyone make any sense of the error below, please advise if I need to log this as a bug but I'm not sure how to further diagnose what is happening. This is from my winbindd log file, thanks Andy. [2003/11/07 17:47:59, 1] nsswitch/winbindd.c:main(832) winbindd version 3.0.0 started. Copyright The Samba Team 2000-2003 [2003/11/07 17:48:00, 1]
2003 Dec 01
0
No subject
...Hi I tried compiling samba 2.2.1a on AIX 4.1 (not sure what version of cc) and got the following error when running make. If anyone has come across this before and can offer some advice it would be greatly appreciated. "nsswitch/wb_common.c", line 171.24: 1506-275 (S) Unexpected text r_fds ignored. "nsswitch/wb_common.c", line 171.17: 1506-045 (S) Undeclared identifier fd_set. "nsswitch/wb_common.c", line 176.26: 1506-045 (S) Undeclared identifier r_fds. make: 1254-004 The error code from the last command is 1. Stop. regards Matthew -------------------------...