[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Sun Apr 17 23:36:13 UTC 2016


The branch, master has been updated
       via  b973bff If a backup fails (e.g. full disk) rsync should fail. Fixes bug 11668.
      from  d1c8040 Output "UNKNOWN" if starttime or endtime is -1. Fixes bug 11382.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b973bffa949a2407768e4ec8fb501b3fbe932f91
Author: Wayne Davison <wayned at samba.org>
Date:   Sun Apr 17 16:31:57 2016 -0700

    If a backup fails (e.g. full disk) rsync should fail.
    Fixes bug 11668.

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

Summary of changes:
 rsync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/rsync.c b/rsync.c
index f1404ce..b82e598 100644
--- a/rsync.c
+++ b/rsync.c
@@ -659,7 +659,7 @@ int finish_transfer(const char *fname, const char *fnametmp,
 	if (make_backups > 0 && overwriting_basis) {
 		int ok = make_backup(fname, False);
 		if (!ok)
-			return 1;
+			exit_cleanup(RERR_FILEIO);
 		if (ok == 1 && fnamecmp == fname)
 			fnamecmp = get_backup_name(fname);
 	}


-- 
The rsync repository.



More information about the rsync-cvs mailing list