[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Tue Sep 13 04:58:42 MDT 2011


The branch, master has been updated
       via  847ddaf Make sure other early exit calls can't hang in noop_io_until_death().
      from  c4c5dc6 Improve the usage for --help.

;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 847ddaf071002ced679ecafab164692091e8b3c0
Author: Wayne Davison <wayned at samba.org>
Date:   Mon Sep 12 17:56:23 2011 -0700

    Make sure other early exit calls can't hang in noop_io_until_death().

-----------------------------------------------------------------------

Summary of changes:
 io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/io.c b/io.c
index b4e0a68..23e7822 100644
--- a/io.c
+++ b/io.c
@@ -912,7 +912,7 @@ void noop_io_until_death(void)
 {
 	char buf[1024];
 
-	if (!iobuf.in.buf || !iobuf.out.buf || iobuf.in_fd == -1 || iobuf.out_fd == -1)
+	if (!iobuf.in.buf || !iobuf.out.buf || iobuf.in_fd < 0 || iobuf.out_fd < 0 || kluge_around_eof)
 		return;
 
 	kluge_around_eof = 2;


-- 
The rsync repository.


More information about the rsync-cvs mailing list