| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use the new case_N.h file to make sure that our cleanup_step case | Wayne Davison | 2006-10-15 | 1 | -14/+7 |
| | | | | | statements never get out of sequence when the code changes. | ||||
| * | Improved the _exit_cleanup() function to handle potential recursions | Wayne Davison | 2006-10-14 | 1 | -51/+96 |
| | | | | | | | back to the function via the calls that it is making. The new code treats each recursion back into the function as an opportunity to take up where we left off (skipping whatever step just failed). | ||||
| * | The cleanup code that handles moving the temp file to the partial | Wayne Davison | 2006-10-14 | 1 | -2/+2 |
| | | | | | | file needed to check that cleanup_fname was not NULL to prevent any possibility of a recursion starting into that code again. | ||||
| * | - When exiting, set the flag "in_exit_cleanup". | Wayne Davison | 2006-10-13 | 1 | -10/+6 |
| | | | | | | - Mark _exit_cleanup() with NORETURN. - Don't ever return from _exit_cleanup(). | ||||
| * | - Improved the setting of cleanup_new_fname and cleanup_fname. | Wayne Davison | 2006-05-18 | 1 | -4/+4 |
| | | | | | - Don't try to keep a partial file if cleanup_new_fname is not set. | ||||
| * | Revised the logic for when to call log_exit() to handle the | Wayne Davison | 2006-05-09 | 1 | -1/+4 |
| | | | | | new --log-file option. | ||||
| * | Updated the FSF's address to an even newer one. | Wayne Davison | 2006-04-25 | 1 | -3/+3 |
| | | |||||
| * | - Updated the address for the FSF in the opening comment. | Wayne Davison | 2006-04-25 | 1 | -20/+22 |
| | | | | | | | | - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files). | ||||
| * | Simplified the conditional prior to the SIGACTION code. | Wayne Davison | 2006-02-03 | 1 | -1/+1 |
| | | |||||
| * | Call SIGACTION() instead of signal(). | Wayne Davison | 2006-02-02 | 1 | -2/+6 |
| | | |||||
| * | We should be using wait_process(), not waitpid() directly. | Wayne Davison | 2006-02-01 | 1 | -1/+2 |
| | | |||||
| * | Call finish_transfer() with its newly-added arg. | Wayne Davison | 2006-01-30 | 1 | -2/+2 |
| | | |||||
| * | Got rid of calls to (the soon to vanish) safe_fname() function. | Wayne Davison | 2006-01-13 | 1 | -2/+2 |
| | | |||||
| * | If cleanup_set() gets passed a NULL fnametmp or fname, set | Wayne Davison | 2005-11-10 | 1 | -1/+1 |
| | | | | | cleanup_fname to NULL. | ||||
| * | Handle new IOERR_DEL_LIMIT bit in io_error. | Wayne Davison | 2005-03-05 | 1 | -3/+5 |
| | | |||||
| * | Adding more calls to safe_fname(). | Wayne Davison | 2005-02-07 | 1 | -2/+2 |
| | | |||||
| * | Changed direct call to fstat() into a call to do_fstat(). | Wayne Davison | 2005-01-28 | 1 | -3/+2 |
| | | |||||
| * | Call finish_transfer() with its new arg. | Wayne Davison | 2005-01-10 | 1 | -1/+3 |
| | | |||||
| * | Call flush_write_file() in _exit_cleanup() if we are keeping a | Wayne Davison | 2004-10-10 | 1 | -1/+3 |
| | | | | | partially-received file. | ||||
| * | Added the new --partial-dir option. | Wayne Davison | 2004-07-29 | 1 | -1/+2 |
| | | |||||
| * | - Got rid of cleanup_buf (map-file cleanup is not needed). | Wayne Davison | 2004-07-20 | 1 | -12/+8 |
| | | | | | - Renamed the cleanup_fd* vars. | ||||
| * | Tweaked some formatting. | Wayne Davison | 2004-07-02 | 1 | -12/+14 |
| | | |||||
| * | Call finish_transfer() with its new arg. Also put the externs | Wayne Davison | 2004-05-13 | 1 | -12/+15 |
| | | | | | at the top and got rid of some trailing whitespace. | ||||
| * | Better pid handling. | Wayne Davison | 2004-01-27 | 1 | -3/+3 |
| | | |||||
| * | Call io_flush() with its new FULL_FLUSH option. | Wayne Davison | 2004-01-15 | 1 | -1/+1 |
| | | |||||
| * | Return new RERR_VANISHED code, as appropriate. | Wayne Davison | 2003-12-15 | 1 | -2/+5 |
| | | |||||
| * | The close_all() function was missing its "void" prototype. | Wayne Davison | 2003-03-21 | 1 | -1/+1 |
| | | |||||
| * | Prevent the "Connection reset by peer" messages often seen from Cygwin. | David Dykstra | 2003-01-27 | 1 | -0/+27 |
| | | | | | | Result of a lot of discussion over the last year and a half. Based on a patch from Randy O'Meara, cleaned up a bit by Max Bowsher. | ||||
| * | Better fix for infinite recursion; don't return from exit_cleanup | David Dykstra | 2003-01-26 | 1 | -2/+2 |
| | | | | | | | unless the nesting is already pretty deep, because there are normal cases where exit_cleanup is nested shallowly. Patch from Marc Espie, posted by Brian Poole. | ||||
| * | Prevent infinite recursion in exit_cleanup(). Patch from Sviatoslav Sviridov. | David Dykstra | 2003-01-16 | 1 | -0/+7 |
| | | |||||
| * | Doc _exit_cleanup. | Martin Pool | 2002-04-09 | 1 | -1/+1 |
| | | |||||
| * | Doc. | Martin Pool | 2002-04-08 | 1 | -6/+24 |
| | | |||||
| * | Improved network error handling. (Greg A. Woods) | Martin Pool | 2002-03-27 | 1 | -0/+9 |
| | | |||||
| * | improved error handling again. Now we report messages for the remote | Andrew Tridgell | 2001-03-23 | 1 | -8/+13 |
| | | | | | shell failing and propogate errors in a better fashion | ||||
| * | new error handling system | Andrew Tridgell | 2001-03-22 | 1 | -0/+7 |
| | | | | | | we now give a non-0 exit code if *any* of the files we have been asked to transfer fail to transfer | ||||
| * | Doc. | Martin Pool | 2000-11-10 | 1 | -2/+7 |
| | | |||||
| * | another hang-at-end fix. It looks like we are more sensiitive to | Andrew Tridgell | 2000-01-30 | 1 | -0/+1 |
| | | | | | | | | these with socketpairs. The receiver now sleeps until it gets a signal to tell it to exit also fixed test.sh to use the current version remotely | ||||
| * | set the exit code to RERR_FILEIO is io_error is set when we exit. This | Andrew Tridgell | 1999-04-06 | 1 | -0/+3 |
| | | | | | | catches most sorts of io errors and ensures we report a error in our exit status. | ||||
| * | log filename(line) in exit_cleanup() to make tracking down problems | Andrew Tridgell | 1998-11-15 | 1 | -2/+2 |
| | | | | | easier in rsync daemons. | ||||
| * | put the pid on each line of the log file to facilitate | Andrew Tridgell | 1998-10-29 | 1 | -0/+3 |
| | | | | | auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi) | ||||
| * | syslog support in rsync daemon has been broken since I added the "log | Andrew Tridgell | 1998-10-28 | 1 | -2/+6 |
| | | | | | | file" option. I wonder why noone reported it? Or did everyone just use "log file" ? | ||||
| * | Add "use chroot" and "pid file" rsyncd.conf options. The former allows one | David Dykstra | 1998-10-26 | 1 | -0/+8 |
| | | | | | | | | to disable the use of chroot so rsync --daemon can be run as a non-root user (if a non-privileged --port is used). The latter allows one to specify a file in which to write the process id of the daemon, which is useful when rsync --daemon is not run from inetd. | ||||
| * | handle OSes where you can't rename a open file in the cleanup code. | Andrew Tridgell | 1998-09-09 | 1 | -1/+10 |
| | | |||||
| * | rsync.c was getting a bit unwieldy so I split the code into 3 modules, | Andrew Tridgell | 1998-07-25 | 1 | -0/+63 |
| for the 3 logical stages of rsync; generator, sender and receiver. | |||||
