summaryrefslogtreecommitdiff
path: root/cleanup.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the copyright year.Wayne Davison2009-01-031-1/+1
|
* Improved the handling of --msgs2stderr a little more.Wayne Davison2008-07-201-1/+1
|
* Added the --info=FLAGS an --debug=FLAGS options, which allowsWayne Davison2008-07-131-6/+6
| | | | fine-grained output control (in addition to the coarse -v).
* The --progress output now leaves the cursor at the end of the lineWayne Davison2008-07-051-0/+6
| | | | | | (instead of the start) in order to be extra sure that an error won't overwrite it. We also ensure that the progress option can't be enabled on the server side.
* Improved the progress_is_active code to not overwrite the progressWayne Davison2008-06-041-4/+0
| | | | output in more circumstances.
* When running in --progress mode with a progress message active, theWayne Davison2008-04-151-0/+4
| | | | | client now outputs a newline prior to an error message, which avoids overwriting the active file's last progress line.
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* New logging categories added to allow differentiation betweenWayne Davison2007-11-221-2/+2
| | | | | transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
* Made some more char pointers const.Wayne Davison2007-10-281-4/+4
|
* Prevent a server from outputting an end-of-run message about itsWayne Davison2007-09-151-0/+5
| | | | error-code that cannot be sent successfully.
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* If the server is exiting with an error, delay our exit just a littleWayne Davison2007-05-061-0/+2
| | | | | in order to give the client side a better chance of reading any error message we just sent.
* The improved --xattrs option is landing on the trunk.Wayne Davison2007-04-071-1/+1
|
* Further modifications to the copyright comment section.Wayne Davison2007-02-041-4/+3
|
* Use the new case_N.h file to make sure that our cleanup_step caseWayne Davison2006-10-151-14/+7
| | | | statements never get out of sequence when the code changes.
* Improved the _exit_cleanup() function to handle potential recursionsWayne Davison2006-10-141-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 partialWayne Davison2006-10-141-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 Davison2006-10-131-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 Davison2006-05-181-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 theWayne Davison2006-05-091-1/+4
| | | | new --log-file option.
* Updated the FSF's address to an even newer one.Wayne Davison2006-04-251-3/+3
|
* - Updated the address for the FSF in the opening comment.Wayne Davison2006-04-251-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 Davison2006-02-031-1/+1
|
* Call SIGACTION() instead of signal().Wayne Davison2006-02-021-2/+6
|
* We should be using wait_process(), not waitpid() directly.Wayne Davison2006-02-011-1/+2
|
* Call finish_transfer() with its newly-added arg.Wayne Davison2006-01-301-2/+2
|
* Got rid of calls to (the soon to vanish) safe_fname() function.Wayne Davison2006-01-131-2/+2
|
* If cleanup_set() gets passed a NULL fnametmp or fname, setWayne Davison2005-11-101-1/+1
| | | | cleanup_fname to NULL.
* Handle new IOERR_DEL_LIMIT bit in io_error.Wayne Davison2005-03-051-3/+5
|
* Adding more calls to safe_fname().Wayne Davison2005-02-071-2/+2
|
* Changed direct call to fstat() into a call to do_fstat().Wayne Davison2005-01-281-3/+2
|
* Call finish_transfer() with its new arg.Wayne Davison2005-01-101-1/+3
|
* Call flush_write_file() in _exit_cleanup() if we are keeping aWayne Davison2004-10-101-1/+3
| | | | partially-received file.
* Added the new --partial-dir option.Wayne Davison2004-07-291-1/+2
|
* - Got rid of cleanup_buf (map-file cleanup is not needed).Wayne Davison2004-07-201-12/+8
| | | | - Renamed the cleanup_fd* vars.
* Tweaked some formatting.Wayne Davison2004-07-021-12/+14
|
* Call finish_transfer() with its new arg. Also put the externsWayne Davison2004-05-131-12/+15
| | | | at the top and got rid of some trailing whitespace.
* Better pid handling.Wayne Davison2004-01-271-3/+3
|
* Call io_flush() with its new FULL_FLUSH option.Wayne Davison2004-01-151-1/+1
|
* Return new RERR_VANISHED code, as appropriate.Wayne Davison2003-12-151-2/+5
|
* The close_all() function was missing its "void" prototype.Wayne Davison2003-03-211-1/+1
|
* Prevent the "Connection reset by peer" messages often seen from Cygwin.David Dykstra2003-01-271-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_cleanupDavid Dykstra2003-01-261-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 Dykstra2003-01-161-0/+7
|
* Doc _exit_cleanup.Martin Pool2002-04-091-1/+1
|
* Doc.Martin Pool2002-04-081-6/+24
|
* Improved network error handling. (Greg A. Woods)Martin Pool2002-03-271-0/+9
|
* improved error handling again. Now we report messages for the remoteAndrew Tridgell2001-03-231-8/+13
| | | | shell failing and propogate errors in a better fashion
* new error handling systemAndrew Tridgell2001-03-221-0/+7
| | | | | we now give a non-0 exit code if *any* of the files we have been asked to transfer fail to transfer