Wayne Davison
054abde25f
Handle new IOERR_DEL_LIMIT bit in io_error.
2005-03-05 18:58:38 +00:00
Wayne Davison
4875d6b64d
Adding more calls to safe_fname().
2005-02-07 20:36:43 +00:00
Wayne Davison
58fef0ac38
Changed direct call to fstat() into a call to do_fstat().
2005-01-28 20:41:36 +00:00
Wayne Davison
d45898df80
Call finish_transfer() with its new arg.
2005-01-10 10:03:06 +00:00
Wayne Davison
09e2bbce8a
Call flush_write_file() in _exit_cleanup() if we are keeping a
...
partially-received file.
2004-10-10 20:31:54 +00:00
Wayne Davison
a7260c4037
Added the new --partial-dir option.
2004-07-29 16:06:38 +00:00
Wayne Davison
b6609cafae
- Got rid of cleanup_buf (map-file cleanup is not needed).
...
- Renamed the cleanup_fd* vars.
2004-07-20 21:35:49 +00:00
Wayne Davison
8186ae6bc0
Tweaked some formatting.
2004-07-02 18:12:24 +00:00
Wayne Davison
6e86c951d7
Call finish_transfer() with its new arg. Also put the externs
...
at the top and got rid of some trailing whitespace.
2004-05-13 07:08:18 +00:00
Wayne Davison
65fc84b32e
Better pid handling.
2004-01-27 08:14:33 +00:00
Wayne Davison
ef732c3b54
Call io_flush() with its new FULL_FLUSH option.
2004-01-15 07:42:12 +00:00
Wayne Davison
6e35c72fdb
Return new RERR_VANISHED code, as appropriate.
2003-12-15 08:08:44 +00:00
Wayne Davison
18d6b679af
The close_all() function was missing its "void" prototype.
2003-03-21 23:43:50 +00:00
David Dykstra
9f639210ca
Prevent the "Connection reset by peer" messages often seen from Cygwin.
...
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.
2003-01-27 03:35:08 +00:00
David Dykstra
aa2c47d835
Better fix for infinite recursion; don't return from exit_cleanup
...
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.
2003-01-26 03:53:34 +00:00
David Dykstra
b765ec32b9
Prevent infinite recursion in exit_cleanup(). Patch from Sviatoslav Sviridov.
2003-01-16 20:09:31 +00:00
Martin Pool
b0f451eb3b
Doc _exit_cleanup.
2002-04-09 05:26:46 +00:00
Martin Pool
e0fde757fd
Doc.
2002-04-08 03:38:36 +00:00
Martin Pool
9098bbf3b3
Improved network error handling. (Greg A. Woods)
2002-03-27 01:03:13 +00:00
Andrew Tridgell
19b27a485e
improved error handling again. Now we report messages for the remote
...
shell failing and propogate errors in a better fashion
2001-03-23 01:26:04 +00:00
Andrew Tridgell
ff81e809f4
new error handling system
...
we now give a non-0 exit code if *any* of the files we have been asked
to transfer fail to transfer
2001-03-22 07:36:51 +00:00
Martin Pool
ef1aa91039
Doc.
2000-11-10 03:17:08 +00:00
Andrew Tridgell
8b35435f7c
another hang-at-end fix. It looks like we are more sensiitive to
...
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
2000-01-30 00:50:19 +00:00
Andrew Tridgell
9bd6597666
set the exit code to RERR_FILEIO is io_error is set when we exit. This
...
catches most sorts of io errors and ensures we report a error in our
exit status.
1999-04-06 14:52:32 +00:00
Andrew Tridgell
a9766ef147
log filename(line) in exit_cleanup() to make tracking down problems
...
easier in rsync daemons.
1998-11-15 01:21:42 +00:00
Andrew Tridgell
9b73d1c0e9
put the pid on each line of the log file to facilitate
...
auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi )
1998-10-29 11:11:38 +00:00
Andrew Tridgell
27d3cdbc94
syslog support in rsync daemon has been broken since I added the "log
...
file" option. I wonder why noone reported it? Or did everyone just use
"log file" ?
1998-10-28 10:43:31 +00:00
David Dykstra
8638dd48f7
Add "use chroot" and "pid file" rsyncd.conf options. The former allows one
...
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.
1998-10-26 21:51:47 +00:00
Andrew Tridgell
c6b81a9865
handle OSes where you can't rename a open file in the cleanup code.
1998-09-09 06:23:27 +00:00
Andrew Tridgell
2f03f956f4
rsync.c was getting a bit unwieldy so I split the code into 3 modules,
...
for the 3 logical stages of rsync; generator, sender and receiver.
1998-07-25 02:25:22 +00:00