Andrew Tridgell [Mon, 15 Dec 1997 17:29:51 +0000 (17:29 +0000)]
be a bit more friendly on systems that behave badly (consume lots of
ram) when you realloc() up by a small amount at a time
Andrew Tridgell [Mon, 15 Dec 1997 16:27:04 +0000 (16:27 +0000)]
include sys/socket.h if possible (this should make rsync compile
cleanly on SCO)
Andrew Tridgell [Mon, 15 Dec 1997 14:43:27 +0000 (14:43 +0000)]
added a --relative (== -R) option. This is what Anthony Thyssen
suggested on the list recently. See the man page entry for details but
basically it changes the behaviour so that paths are not stripped,
thus allowing you to specify a single rsync command to sync lots of
directories/files while preserving the full path name of each file.
also fixed a bug in the handling of umasks when both the source and
destination machines are local. We need to reset the umask before the
exec to ensure that the child gets a correct umask.
Andrew Tridgell [Mon, 15 Dec 1997 13:38:06 +0000 (13:38 +0000)]
added some more debug info to the "EOF in map_ptr" error message to
try to make it easier to track down what is going wrong.
Jarom, can you let me know what output this gives?
PS: the cvs commit messages for rsync are now sent to the rsync
mailing list. This will allow everyone to see what changes are being
made.
Andrew Tridgell [Mon, 15 Dec 1997 12:37:40 +0000 (12:37 +0000)]
damn, I had implicitly assumed signed characters when writing the
rolling checksum code. The result is that rsync worked much more
slowly when going between two machines where one of the machines uses
signed and the other unsigned chars. The rolling checksum rarely
matched so effectively a copy was done in many cases. The data always
came through correctly so no file corruption occurred but it's pretty
pointless using rsync if it doesn't speed things up!
I've now made the sign of the chars explicit
Andrew Tridgell [Mon, 15 Dec 1997 12:33:15 +0000 (12:33 +0000)]
I think I've (finally) fixed the problem with rsync periodically
freezing when used with ssh. The problem is really the ssh use of
blocking calls. rsync has had a fix for this for a while which relies
on using non-blocking calls itself and then reading any data from the
incoming fd when trying to write, thus ensuring that the incoming fd
doesn't get full.
The problem was the the incoming fd wasn't added to the select
statement, which meant that new data arriving on the fd only got read
when the select timed out, which happens every 10 seconds. Thus things
could slow to a crawl!
The incoming fd is now in the select call, and this seems to fix the
problem.
Andrew Tridgell [Thu, 30 Oct 1997 08:13:32 +0000 (08:13 +0000)]
don't use WRAP as that maybe be defined in standard includes
Andrew Tridgell [Thu, 30 Oct 1997 08:07:38 +0000 (08:07 +0000)]
fix version number
Andrew Tridgell [Thu, 30 Oct 1997 08:07:28 +0000 (08:07 +0000)]
send "." filenames so the other end knows that a directory was sent
Andrew Tridgell [Thu, 30 Oct 1997 08:06:46 +0000 (08:06 +0000)]
fix spelling error
Andrew Tridgell [Thu, 10 Jul 1997 01:12:36 +0000 (01:12 +0000)]
minor updates
Paul Mackerras [Fri, 11 Apr 1997 06:18:02 +0000 (06:18 +0000)]
minor bugfixes
Paul Mackerras [Wed, 6 Nov 1996 04:49:53 +0000 (04:49 +0000)]
Fixed bug in receiving 32kB compressible files
Andrew Tridgell [Wed, 2 Oct 1996 06:33:58 +0000 (06:33 +0000)]
*** empty log message ***
Andrew Tridgell [Wed, 2 Oct 1996 06:33:49 +0000 (06:33 +0000)]
added info on european mirror of rsync
Paul Mackerras [Wed, 2 Oct 1996 04:20:22 +0000 (04:20 +0000)]
Fix compression bug where incompressible files weren't transmitted correctly.
Andrew Tridgell [Tue, 1 Oct 1996 12:04:47 +0000 (12:04 +0000)]
move check for remsh after config.h
Andrew Tridgell [Tue, 1 Oct 1996 06:44:00 +0000 (06:44 +0000)]
change BAD to ZBAD to avoid conflict with some systems
Andrew Tridgell [Tue, 1 Oct 1996 06:40:36 +0000 (06:40 +0000)]
- check for sys/select.h
- check for and use lchown if possible
- fix problem with root directory on source and destination
Andrew Tridgell [Tue, 1 Oct 1996 04:31:34 +0000 (04:31 +0000)]
- added info on the mailing list
Andrew Tridgell [Tue, 1 Oct 1996 04:13:03 +0000 (04:13 +0000)]
update to version 1.6
Andrew Tridgell [Tue, 1 Oct 1996 04:12:30 +0000 (04:12 +0000)]
- detect presence of remsh and use it instead of rsh
- handle directory ownership and permissions much better.
- fix bug where links caused the permissions of files to be
set incorrectly
- override the default umask in setting file permissions
- better handling -o and -D being passed to non-root users
- handle rsync to a destination of /
- fix the handling of mismatched file types at either end of the
link. For example, if the destination is a link and the source is not.
Paul Mackerras [Mon, 15 Jul 1996 05:38:20 +0000 (05:38 +0000)]
This should fix the bug where file transfer with compression failed with
the message 'inflate returned 0 (0 bytes)'.
Andrew Tridgell [Fri, 12 Jul 1996 14:37:25 +0000 (14:37 +0000)]
add warning if corruption detected
Andrew Tridgell [Fri, 12 Jul 1996 14:36:03 +0000 (14:36 +0000)]
fix serious corruption bug
Andrew Tridgell [Fri, 5 Jul 1996 04:49:32 +0000 (04:49 +0000)]
*** empty log message ***
Andrew Tridgell [Thu, 4 Jul 1996 13:56:53 +0000 (13:56 +0000)]
*** empty log message ***
Andrew Tridgell [Thu, 4 Jul 1996 13:08:07 +0000 (13:08 +0000)]
added CHAR_OFFSET
Andrew Tridgell [Thu, 4 Jul 1996 10:16:56 +0000 (10:16 +0000)]
*** empty log message ***
Andrew Tridgell [Wed, 3 Jul 1996 08:18:11 +0000 (08:18 +0000)]
*** empty log message ***
Andrew Tridgell [Wed, 3 Jul 1996 08:12:32 +0000 (08:12 +0000)]
*** empty log message ***
Andrew Tridgell [Wed, 3 Jul 1996 06:24:34 +0000 (06:24 +0000)]
- fixed file time bug
- doc updates
Paul Mackerras [Wed, 3 Jul 1996 05:28:55 +0000 (05:28 +0000)]
fix buglet in handling multiple files
Andrew Tridgell [Wed, 3 Jul 1996 05:22:09 +0000 (05:22 +0000)]
*** empty log message ***
Paul Mackerras [Wed, 3 Jul 1996 04:05:46 +0000 (04:05 +0000)]
Added in-stream deflate compression for file reconstruction instructions.
Andrew Tridgell [Wed, 3 Jul 1996 02:21:47 +0000 (02:21 +0000)]
check for null unmap
Andrew Tridgell [Tue, 2 Jul 1996 06:02:36 +0000 (06:02 +0000)]
save some more bytes by making the checksum smaller
Andrew Tridgell [Tue, 2 Jul 1996 03:22:08 +0000 (03:22 +0000)]
added seed to file sum
Andrew Tridgell [Tue, 2 Jul 1996 03:19:58 +0000 (03:19 +0000)]
added resend logic
added checksum on all files
Andrew Tridgell [Mon, 1 Jul 1996 23:27:19 +0000 (23:27 +0000)]
*** empty log message ***
Andrew Tridgell [Mon, 1 Jul 1996 05:55:05 +0000 (05:55 +0000)]
added hooks for compression in token.c
Andrew Tridgell [Sun, 30 Jun 1996 05:02:45 +0000 (05:02 +0000)]
get byte order of checksum seed right
Andrew Tridgell [Sun, 30 Jun 1996 04:42:04 +0000 (04:42 +0000)]
new header tests for sunos
Andrew Tridgell [Sun, 30 Jun 1996 04:30:43 +0000 (04:30 +0000)]
*** empty log message ***
Andrew Tridgell [Sun, 30 Jun 1996 04:29:46 +0000 (04:29 +0000)]
added checksum seed
Andrew Tridgell [Sun, 30 Jun 1996 03:57:22 +0000 (03:57 +0000)]
- hard links
- better sparse handling
- FERROR and FINFO
Andrew Tridgell [Fri, 28 Jun 1996 15:24:39 +0000 (15:24 +0000)]
*** empty log message ***
Andrew Tridgell [Fri, 28 Jun 1996 14:43:49 +0000 (14:43 +0000)]
*** empty log message ***
Andrew Tridgell [Fri, 28 Jun 1996 14:27:04 +0000 (14:27 +0000)]
*** empty log message ***
Andrew Tridgell [Fri, 28 Jun 1996 14:26:15 +0000 (14:26 +0000)]
fixed sighup handling
Andrew Tridgell [Fri, 28 Jun 1996 13:55:41 +0000 (13:55 +0000)]
new exit/cleanup code
Andrew Tridgell [Fri, 28 Jun 1996 08:01:55 +0000 (08:01 +0000)]
- handle no mmap for munmap
- handle sparse files
- add MAX_PROTOCOL_VERSION
Paul Mackerras [Fri, 28 Jun 1996 07:06:34 +0000 (07:06 +0000)]
standard input on server may be nonblocking
Andrew Tridgell [Thu, 27 Jun 1996 05:16:15 +0000 (05:16 +0000)]
added csum-length option
Andrew Tridgell [Thu, 27 Jun 1996 04:22:19 +0000 (04:22 +0000)]
- improved filename packing
- fixed sunos EAGAIN bug
Paul Mackerras [Thu, 27 Jun 1996 01:46:13 +0000 (01:46 +0000)]
Fix echo commands for Solaris systems.
Paul Mackerras [Thu, 27 Jun 1996 01:45:24 +0000 (01:45 +0000)]
Fix bug where the --delete option was deleting files locally which
should have been ignored when the -C option was used.
Andrew Tridgell [Wed, 26 Jun 1996 16:02:34 +0000 (16:02 +0000)]
*** empty log message ***
Andrew Tridgell [Wed, 26 Jun 1996 15:57:54 +0000 (15:57 +0000)]
added support for non-mmap operation
Andrew Tridgell [Wed, 26 Jun 1996 13:43:26 +0000 (13:43 +0000)]
*** empty log message ***
Andrew Tridgell [Wed, 26 Jun 1996 13:37:05 +0000 (13:37 +0000)]
more byte efficient flist routines
Andrew Tridgell [Wed, 26 Jun 1996 03:21:27 +0000 (03:21 +0000)]
added SIGPIPE catch
added select timeout
Andrew Tridgell [Wed, 26 Jun 1996 01:35:13 +0000 (01:35 +0000)]
went to full non-blocking writes for the send_files() process
Andrew Tridgell [Tue, 25 Jun 1996 13:44:27 +0000 (13:44 +0000)]
*** empty log message ***
Andrew Tridgell [Tue, 25 Jun 1996 13:39:04 +0000 (13:39 +0000)]
added comments
rebuilt configure with autoconf
Andrew Tridgell [Tue, 25 Jun 1996 07:32:03 +0000 (07:32 +0000)]
added "created dir" message
added read buffer
Andrew Tridgell [Tue, 25 Jun 1996 04:16:20 +0000 (04:16 +0000)]
added stuff to ignore list
Andrew Tridgell [Tue, 25 Jun 1996 04:16:02 +0000 (04:16 +0000)]
paranoid check for null buffer in unmap
Andrew Tridgell [Tue, 25 Jun 1996 04:15:41 +0000 (04:15 +0000)]
fixed a bug where unmap could be called with a NULL buffer
Andrew Tridgell [Sat, 22 Jun 1996 05:33:40 +0000 (05:33 +0000)]
*** empty log message ***
Andrew Tridgell [Sat, 22 Jun 1996 05:31:55 +0000 (05:31 +0000)]
add SIGNAL_CAST
don't create files till needed when receiving
Andrew Tridgell [Sat, 22 Jun 1996 05:04:20 +0000 (05:04 +0000)]
Initial revision