"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cleanup.c" between
rsync-3.2.1.tar.gz and rsync-3.2.2.tar.gz

About: rsync is a fast incremental file-copying tool for bringing remote (and local) files into sync.

cleanup.c  (rsync-3.2.1):cleanup.c  (rsync-3.2.2)
skipping to change at line 224 skipping to change at line 224
exit_code = RERR_DEL_LIMIT; exit_code = RERR_DEL_LIMIT;
if (io_error & IOERR_VANISHED) if (io_error & IOERR_VANISHED)
exit_code = RERR_VANISHED; exit_code = RERR_VANISHED;
if (io_error & IOERR_GENERAL || got_xfer_error) if (io_error & IOERR_GENERAL || got_xfer_error)
exit_code = RERR_PARTIAL; exit_code = RERR_PARTIAL;
} }
/* If line < 0, this exit is after a MSG_ERROR_EXIT event, so /* If line < 0, this exit is after a MSG_ERROR_EXIT event, so
* we don't want to output a duplicate error. */ * we don't want to output a duplicate error. */
if ((exit_code && line > 0) if ((exit_code && line > 0)
|| am_daemon || (logfile_name && (am_server || !INFO_GTE(STATS, || am_daemon || (logfile_name && (am_server || !INFO_GTE(STATS,
1)))) 1)))) {
#ifdef HAVE_USLEEP /* A tiny delay just in case both sender & receiver are sendi
ng a msg at the same time. */
if (am_server && exit_code)
usleep(50);
#endif
log_exit(exit_code, exit_file, exit_line); log_exit(exit_code, exit_file, exit_line);
}
#include "case_N.h" #include "case_N.h"
switch_step++; switch_step++;
if (DEBUG_GTE(EXIT, 1)) { if (DEBUG_GTE(EXIT, 1)) {
rprintf(FINFO, rprintf(FINFO,
"[%s] _exit_cleanup(code=%d, file=%s, line=%d): " "[%s] _exit_cleanup(code=%d, file=%s, line=%d): "
"about to call exit(%d)%s\n", "about to call exit(%d)%s\n",
who_am_i(), first_code, exit_file, exit_line, exi t_code, who_am_i(), first_code, exit_file, exit_line, exi t_code,
dry_run ? " (DRY RUN)" : ""); dry_run ? " (DRY RUN)" : "");
 End of changes. 2 change blocks. 
2 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)