Displaying 7 results from an estimated 7 matches for "rerr_messageio".
2002 Oct 09
2
rsync-2.5.5 memory eater problem
...recursivly call the same functions again and again).
As a quick workaround we have the following patch, since there is
no real point in trying to issue an error message if you have
already received EPIPE on write.
--- log.c
+++ log.c 2002/10/08 11:55:52
@@ -276,7 +276,7 @@
if (!f) exit_cleanup(RERR_MESSAGEIO);
- if (fwrite(buf, len, 1, f) != 1) exit_cleanup(RERR_MESSAGEIO);
+ if (fwrite(buf, len, 1, f) != 1 && errno != EPIPE) exit_cleanup(RERR_MESSAGEIO);
if (buf[len-1] == '\r' || buf[len-1] == '\n') fflush(f);
}
--
with kind regards (mit freundlichem Grinsen),
Ru...
2002 May 28
2
rsync 2.5.4 (probably 2.5.5 too) server handles SIGPIPE very poorly
...because openssh sshd causes it it to get a SIGHUP
whereas the ssh.com version of sshd does not. That's just a guess
though.
Here's the patch I submitted:
*** log.c~ Mon Feb 18 14:51:12 2002
--- log.c Tue May 28 10:05:30 2002
***************
*** 276,284 ****
if (!f) exit_cleanup(RERR_MESSAGEIO);
! if (fwrite(buf, len, 1, f) != 1) exit_cleanup(RERR_MESSAGEIO);
! if (buf[len-1] == '\r' || buf[len-1] == '\n') fflush(f);
}
--- 276,286 ----
if (!f) exit_cleanup(RERR_MESSAGEIO);
! if (! ferror(f)) {
! if (fwrite(buf, len, 1, f) != 1) exit_cleanup(R...
2003 Jan 13
4
Please test rsync-2.5.6pre1
The first rsync-2.5.6 pre-release version is now available at:
http://rsync.samba.org/ftp/rsync/preview/rsync-2.5.6pre1.tar.gz
ftp://rsync.samba.org/pub/rsync/preview/rsync-2.5.6pre1.tar.gz
rsync://rsync.samba.org/ftp/rsync/preview/rsync-2.5.6pre1.tar.gz
There's also a corresponding '.sig' file that contains a gpg signature
of the file; the public key is available on the
2003 Jun 07
1
patch to rsync to add options for pre- and post-transfer commands
...doc and rsync-2.5.6/doc
diff --exclude='*.o' -b --context rsync-2.5.6.orig/errcode.h rsync-2.5.6/errcode.h
*** rsync-2.5.6.orig/errcode.h 2002-04-08 23:29:26.000000000 -0600
--- rsync-2.5.6/errcode.h 2003-04-28 20:32:40.000000000 -0600
***************
*** 35,40 ****
--- 35,44 ----
#define RERR_MESSAGEIO 13 /* errors with program diagnostics */
#define RERR_IPC 14 /* error in IPC code */
+ #define RERR_PRESCRIPT 17 /* error running pre-transfer script */
+ #define RERR_POSTSCRIPT 18 /* error running post-transfer script */
+ #define RERR_SCRIPT 19 /* syste...
2006 May 13
2
using -v and -q together
seems the behavior of rsync has changed when dealing with output and using
both -v and -q at the same time ... for example:
$ mkdir test1
$ touch test1/foo
$ rsync-2.6.0 -avq test1 test2
$ rm -r test2
$ rsync-2.6.8 -avq test1 test2
test1/
test1/fo
$ rm -r test2
$ rsync-cvs -avq test1 test2
building file list ... test1/
test1/fo
$ rm -r test2
the new output in 2.6.8 comes from the calls to
2006 Feb 13
1
rsync SIGSEGV signal handler in Cygwin.
...50 /* We have crashed. */
+
/* Although it doesn't seem to be specified anywhere,
* ssh and the shell seem to return these values:
*
diff -ur rsync-2.6.6/log.c rsync/log.c
--- rsync-2.6.6/log.c Fri Jun 10 02:27:22 2005
+++ rsync/log.c Sat Jan 28 04:37:10 2006
@@ -66,6 +66,7 @@
{ RERR_MESSAGEIO , "errors with program diagnostics" },
{ RERR_IPC , "error in IPC code" },
{ RERR_SIGNAL , "received SIGUSR1 or SIGINT" },
+ { RERR_CRASH , "*** WE HAVE CRASHED :-( ***" },
{ RERR_WAITCHILD , "some error returned by waitpid()" }...
2004 May 29
1
[patch] Filename conversion
...ync-2.6.2/errcode.h rsync-2.6.2-fnameconv.clean/errcode.h
--- rsync-2.6.2/errcode.h 2003-12-15 10:04:14.000000000 +0200
+++ rsync-2.6.2-fnameconv.clean/errcode.h 2004-05-29 21:17:08.000000000 +0300
@@ -34,6 +34,7 @@
#define RERR_STREAMIO 12 /* error in rsync protocol data stream */
#define RERR_MESSAGEIO 13 /* errors with program diagnostics */
#define RERR_IPC 14 /* error in IPC code */
+#define RERR_FNAMECONV 15 /* error in filename conversion */
#define RERR_SIGNAL 20 /* status returned when sent SIGUSR1, SIGINT */
#define RERR_WAITCHILD 21 /* some err...