search for: log_error_fd

Displaying 3 results from an estimated 3 matches for "log_error_fd".

Did you mean: io_error_fd
2004 Apr 27
1
No error messages in rsyncd log in 2.6.1pre-1
...iplex_write((enum msgcode)code, buf, len)) return; } will send all errors to the client and none to the log when the daemon is the server. That code replaced this code in 2.6.0: /* first try to pass it off to our sibling */ if (am_server && log_error_fd != -1) { err_list_add(code, buf, len); err_list_push(); return; } /* next, if we are a server and multiplexing is enabled, * pass it to the other side. */ if (am_server && io_multiplex_write(code, buf, len))...
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). -
2002 May 16
0
[patch] output of rsync -n truncated
...nl (@ @) http://www.altium.com --------------------------------oOO--(_)--OOo--------------------------- -------------- next part -------------- --- rsync-2.5.5/log.c.orig Mon Feb 18 20:51:12 2002 +++ rsync-2.5.5/log.c Wed May 15 16:12:18 2002 @@ -116,7 +116,12 @@ int n = write(log_error_fd, el->buf+el->written, el->len - el->written); /* don't check for an error if the best way of handling the error is to ignore it */ - if (n == -1) break; + if (n == -1) { + if (errno == EAGAIN) { + msleep(20); + } + break; + } if (n > 0) { el->writte...