Displaying 3 results from an estimated 3 matches for "err_list_push".
2004 Apr 27
1
No error messages in rsyncd log in 2.6.1pre-1
...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)) {
return;
}
which had replaced even older code in 2.5.6:...
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...id 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)
{
if (io_buffer) return;
multiplex_out_fd = fd;
- io_buffer = (char *)malloc(IO_BUFFER_SIZE);
+ io_buffer = mal...
2003 Jun 07
1
patch to rsync to add options for pre- and post-transfer commands
...09.000000000 -0700
--- rsync-2.5.6/proto.h 2003-04-27 11:34:53.000000000 -0600
***************
*** 151,156 ****
--- 151,158 ----
BOOL lp_load(char *pszFname, int globals_only);
int lp_numservices(void);
int lp_number(char *name);
+ char *lp_prescript(int );
+ char *lp_postscript(int );
void err_list_push(void);
void log_init(void);
void log_open(void);
Only in rsync-2.5.6: rsync
Only in rsync-2.5.6: rsync_script.patch
Only in rsync-2.5.6: shconfig
diff --exclude='*.o' -b --context rsync-2.5.6.orig/socket.c rsync-2.5.6/socket.c
*** rsync-2.5.6.orig/socket.c 2003-01-26 20:35:09.000000000...