Martin Pool [Sun, 13 Jan 2002 23:57:13 +0000 (23:57 +0000)]
Ignore testtmp directories.
Martin Pool [Fri, 11 Jan 2002 08:37:42 +0000 (08:37 +0000)]
DOc.
Martin Pool [Fri, 11 Jan 2002 08:25:32 +0000 (08:25 +0000)]
Always use 64-bit ino_t and dev_t internally, so that we can detect
hardlinks if coming from a larger platform. Add heaps of comments
explaining why this is so.
Martin Pool [Fri, 11 Jan 2002 08:24:34 +0000 (08:24 +0000)]
More comments about IPv6 stuff.
If a reverse name lookup fails, show the name that we were trying to
look up.
Martin Pool [Fri, 11 Jan 2002 08:08:34 +0000 (08:08 +0000)]
When checking what was copied, use specific -d -f -L flags to test
rather than -e. (Perhaps Solaris doesn't have test -e?)
Martin Pool [Fri, 11 Jan 2002 08:02:43 +0000 (08:02 +0000)]
The current version of rsync is expected to fail to eliminate all
duplicates from list.
Martin Pool [Fri, 11 Jan 2002 08:01:05 +0000 (08:01 +0000)]
Add concept of expected-failure.
Martin Pool [Fri, 11 Jan 2002 07:41:50 +0000 (07:41 +0000)]
Give cleaner output from "make check"
Martin Pool [Fri, 11 Jan 2002 07:30:50 +0000 (07:30 +0000)]
Bump version number.
Now finished merging across work from experimental BK repository.
Martin Pool [Fri, 11 Jan 2002 07:29:53 +0000 (07:29 +0000)]
Improved duplicates test: check that each file is
copied once and exactly once.
Martin Pool [Fri, 11 Jan 2002 07:29:02 +0000 (07:29 +0000)]
Check whether code to eliminate duplicate filenames works
(hint: it does not.)
Martin Pool [Fri, 11 Jan 2002 07:26:39 +0000 (07:26 +0000)]
Better mallinfo() output in --stats
Martin Pool [Fri, 11 Jan 2002 07:25:54 +0000 (07:25 +0000)]
Update copyright
Martin Pool [Fri, 11 Jan 2002 07:24:31 +0000 (07:24 +0000)]
Doc
Martin Pool [Fri, 11 Jan 2002 07:16:11 +0000 (07:16 +0000)]
Look for mallinfo() and use it to display
heap usage information in --stats
Martin Pool [Fri, 11 Jan 2002 07:15:16 +0000 (07:15 +0000)]
In protocol version 26, always
send 64-bit ino_t and dev_t. We also need to try to use 64-bit
ino_t internally *even if* this platform does not have 64-bit
inums itself, because we need to find duplicate inums when
coming from a larger platform with --hardlinks.
Martin Pool [Fri, 11 Jan 2002 07:11:43 +0000 (07:11 +0000)]
Autoindent
Add copyright
Martin Pool [Fri, 11 Jan 2002 07:11:23 +0000 (07:11 +0000)]
Improved test framework and test for hardlink handling
Martin Pool [Fri, 11 Jan 2002 07:10:25 +0000 (07:10 +0000)]
Bump version
Martin Pool [Fri, 11 Jan 2002 07:09:53 +0000 (07:09 +0000)]
Merge ChangeSet@1.12: Add test case for -H
Martin Pool [Fri, 11 Jan 2002 07:09:22 +0000 (07:09 +0000)]
Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H
Martin Pool [Fri, 11 Jan 2002 07:07:49 +0000 (07:07 +0000)]
Merge ChangeSet@1.10: Documentation about flist scalabilityTODO
Martin Pool [Fri, 11 Jan 2002 07:07:30 +0000 (07:07 +0000)]
Merge ChangeSet@1.9: Documentation about flist scalability
Martin Pool [Fri, 11 Jan 2002 07:05:30 +0000 (07:05 +0000)]
Merge ChangeSet@1.4: Documentation about flist scalability
Martin Pool [Fri, 11 Jan 2002 07:04:37 +0000 (07:04 +0000)]
Merge ChangeSet@1.4: Documentation about future development.
Martin Pool [Thu, 3 Jan 2002 07:18:17 +0000 (07:18 +0000)]
Oops, fix date.
rsync-bugs [Thu, 3 Jan 2002 07:11:10 +0000 (07:11 +0000)]
preparing for release of 2.5.1
Martin Pool [Thu, 3 Jan 2002 07:08:35 +0000 (07:08 +0000)]
Cleanup.
David Dykstra [Thu, 20 Dec 2001 15:33:13 +0000 (15:33 +0000)]
Removed debugging statement that was added to sig_int() by the rsync+ patch
integration. It was causing the format of the daemon log to be messed up
because of the leading \n.
Martin Pool [Thu, 20 Dec 2001 01:23:28 +0000 (01:23 +0000)]
Suggestion from David Stein
verbose output
Indicate whether files are new, updated, or deleted
Martin Pool [Tue, 18 Dec 2001 06:48:56 +0000 (06:48 +0000)]
Typo
Martin Pool [Tue, 18 Dec 2001 06:47:40 +0000 (06:47 +0000)]
Get rid of global_opts struct as suggested by Dave -- too many
problems with initialization.
Martin Pool [Tue, 18 Dec 2001 06:45:28 +0000 (06:45 +0000)]
Documentation fixes based on mail from Edward Welbourne, and an
attempted explanation of rsync's symbolic-link handling.
Martin Pool [Tue, 18 Dec 2001 06:26:26 +0000 (06:26 +0000)]
Add an "unsafe" symlink to the symlink test case so we can see what happens.
Martin Pool [Tue, 18 Dec 2001 06:25:31 +0000 (06:25 +0000)]
Note about hardlink performance.
Martin Pool [Tue, 18 Dec 2001 06:21:33 +0000 (06:21 +0000)]
Refactor code for setting local address on outgoing connections. If a
local address is specified, then try all addrinfo records for it.
Martin Pool [Tue, 18 Dec 2001 05:54:57 +0000 (05:54 +0000)]
Get rid of global_opts struct as suggested by Dave -- too many
problems with initialization.
Change the algorithm from trying to open an inbound socket with
getaddrinfo: keep trying suggested addresses until we find one on
which we can both get a socket and bind. Not convinced this is the
best, but it's probably better.
Martin Pool [Tue, 18 Dec 2001 01:33:56 +0000 (01:33 +0000)]
Note rsyncd-over-ssh and documentation TODOs.
Martin Pool [Tue, 18 Dec 2001 01:32:27 +0000 (01:32 +0000)]
Fix from Jeff Garzik for inet_ntop prototype errors on some Linux
distributions: we were failing to define HAVE_INET_NTOP, so our
prototype in rsync.h came through.
Also rerun autoheader, and have comment for HAVE_SOCKADDR_STORAGE.
Martin Pool [Tue, 18 Dec 2001 01:07:20 +0000 (01:07 +0000)]
Update README so that Paulus doesn't get bug reports anymore :-)
I think this document needs to be reworked to better explain how to
use rsync, but not right now.
David Dykstra [Fri, 14 Dec 2001 18:25:51 +0000 (18:25 +0000)]
When INET6 is not defined, meaning that IPv6 is not supported, need to
initalize the global_opts.af_hint to AF_INET or systems such as Linux that
have a native getaddrinfo() because they support IPv6 will attempt to
create IPv6 sockets. This brings up a problem with the new global_opts
structure; in order to initialize them to a value other than 0, we need to
explicitly initialize them all in an order that matches the order in
rsync.h. I think that's more inconvenient & error prone than keeping
global variables.
David Dykstra [Fri, 14 Dec 2001 18:00:54 +0000 (18:00 +0000)]
open_socket_in was attempting to try all the protocols returned from
getaddrinfo(), but only if a corresponding call to socket() returned one of
three *NOSUPPORT errno codes. A Redhat 6.2 system was observed returning
EINVAL instead so it never went on to try IPv4. This update adds EINVAL to
the list. Question: why not always continue through the list regardless of
what errno is?
Martin Pool [Fri, 14 Dec 2001 05:55:21 +0000 (05:55 +0000)]
Verbose.
Martin Pool [Fri, 14 Dec 2001 05:54:24 +0000 (05:54 +0000)]
Only show test output if it failed.
Martin Pool [Fri, 14 Dec 2001 05:52:25 +0000 (05:52 +0000)]
Be less verbose.
Martin Pool [Fri, 14 Dec 2001 05:44:04 +0000 (05:44 +0000)]
Fix quoting.
Martin Pool [Fri, 14 Dec 2001 05:27:42 +0000 (05:27 +0000)]
Perhaps Solaris sh wants us to explicitly exit 0, rather than just
using the last return code?
Martin Pool [Fri, 14 Dec 2001 05:19:15 +0000 (05:19 +0000)]
More error messages.
Martin Pool [Fri, 14 Dec 2001 05:17:52 +0000 (05:17 +0000)]
Typo.
Martin Pool [Fri, 14 Dec 2001 05:01:48 +0000 (05:01 +0000)]
Make scratch directory properly.
Martin Pool [Fri, 14 Dec 2001 02:18:31 +0000 (02:18 +0000)]
Doc.
Martin Pool [Fri, 14 Dec 2001 02:16:20 +0000 (02:16 +0000)]
Clearer error messages.
Martin Pool [Fri, 14 Dec 2001 02:14:58 +0000 (02:14 +0000)]
Clearer error messages.
Martin Pool [Fri, 14 Dec 2001 02:01:46 +0000 (02:01 +0000)]
Add a test that when none of -l, -L, -a are specified symlinks are not
copied at all.
Martin Pool [Fri, 14 Dec 2001 01:52:43 +0000 (01:52 +0000)]
Clean scratch directory between each test run.
Martin Pool [Fri, 14 Dec 2001 01:48:48 +0000 (01:48 +0000)]
Readlink(2) does not nul-terminate the output buffer, so we were
getting corrupt output when listing more than one symlink.
Martin Pool [Fri, 14 Dec 2001 01:09:23 +0000 (01:09 +0000)]
Fix contact details.
Martin Pool [Sun, 9 Dec 2001 21:48:13 +0000 (21:48 +0000)]
Don't define DEBUG with --enable-debug, because that makes zlib emit strange messages
Martin Pool [Wed, 5 Dec 2001 13:48:41 +0000 (13:48 +0000)]
IRIX cc cares that the operands to the ternary have the same type.
Martin Pool [Wed, 5 Dec 2001 13:45:51 +0000 (13:45 +0000)]
Be more strict about 'enum logcode' rather than int. IRIX compiler
picked this up -- quite neat.
Martin Pool [Wed, 5 Dec 2001 13:44:37 +0000 (13:44 +0000)]
Some platforms don't have sa_family_t.
Martin Pool [Wed, 5 Dec 2001 13:41:38 +0000 (13:41 +0000)]
Bump version
Martin Pool [Wed, 5 Dec 2001 13:25:29 +0000 (13:25 +0000)]
RFC2553 just says that sockaddr_storage has to have initial fields
isomorphic to sa_family etc from a struct sockaddr, not what they're
called. On some platforms they seem not to be called ss_family.
Rather than guess, we will try casting to a sockaddr and looking
through that -- I think this is what the RFC intends.
Martin Pool [Wed, 5 Dec 2001 13:19:16 +0000 (13:19 +0000)]
Some platforms may have getaddrinfo() but not sockaddr_storage.
Martin Pool [Wed, 5 Dec 2001 13:10:24 +0000 (13:10 +0000)]
Document --no-detach.
Martin Pool [Wed, 5 Dec 2001 13:06:26 +0000 (13:06 +0000)]
Fix help message for --address option
Martin Pool [Wed, 5 Dec 2001 13:03:16 +0000 (13:03 +0000)]
Add --no-detach option for W32, daemontools, etc.
Martin Pool [Wed, 5 Dec 2001 13:02:11 +0000 (13:02 +0000)]
Doc
Martin Pool [Wed, 5 Dec 2001 12:56:06 +0000 (12:56 +0000)]
Doc.
Martin Pool [Wed, 5 Dec 2001 12:48:46 +0000 (12:48 +0000)]
Change back to using sockaddr_storage rather than sockaddr_in. If
sockaddr_storage is not defined, then supply our own definition that
will hopefully satisfy RFC2553 but also compile on all supported
platforms.
Thankyou to YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro
"itojun" Hagino.
Martin Pool [Wed, 5 Dec 2001 12:25:36 +0000 (12:25 +0000)]
Suggestions from KAME IPv6 newsletter.
Martin Pool [Wed, 5 Dec 2001 00:58:20 +0000 (00:58 +0000)]
Note from tpot that sighup should have standard behaviour of reinitializing.
David Dykstra [Mon, 3 Dec 2001 18:37:33 +0000 (18:37 +0000)]
Don't print out the directory name twice in verbose mode; it was being
printed a second time when the modification time of the directory was
being set, and that time around recv_files() calls recv_generator() with
an f_out of -1 so check that before printing the directory name.
Martin Pool [Sun, 2 Dec 2001 22:47:30 +0000 (22:47 +0000)]
Note about crash from Ayamura KIKUCHI
Martin Pool [Sun, 2 Dec 2001 22:28:50 +0000 (22:28 +0000)]
batch reindent
Martin Pool [Sun, 2 Dec 2001 22:26:09 +0000 (22:26 +0000)]
Bump version
Martin Pool [Sun, 2 Dec 2001 14:12:03 +0000 (14:12 +0000)]
Fix FP usage.
Martin Pool [Sun, 2 Dec 2001 13:58:03 +0000 (13:58 +0000)]
Oops, units bug.
Martin Pool [Sun, 2 Dec 2001 13:45:38 +0000 (13:45 +0000)]
Show time-remaining as hh:mm:ss.
Martin Pool [Sun, 2 Dec 2001 13:22:55 +0000 (13:22 +0000)]
Update notes
Martin Pool [Sun, 2 Dec 2001 13:07:07 +0000 (13:07 +0000)]
Improved estimation algorithm for time-to-complete.
Martin Pool [Sun, 2 Dec 2001 13:02:17 +0000 (13:02 +0000)]
Typo fix by Tom Schmidt
Martin Pool [Sun, 2 Dec 2001 12:37:48 +0000 (12:37 +0000)]
const-cast required for silly UNICOS headers
Martin Pool [Sun, 2 Dec 2001 08:56:25 +0000 (08:56 +0000)]
Also estimate time remaining.
Martin Pool [Sun, 2 Dec 2001 08:38:51 +0000 (08:38 +0000)]
Progress indicator now shows estimated rate of transfer (e.g. kB/s).
Based on a patch from Rik Faith, but modified to make sure we do only
one rprintf call, and that we never end up with two copies of the line
printed out.
Martin Pool [Sun, 2 Dec 2001 08:16:15 +0000 (08:16 +0000)]
Revert change from 1.39, because it causes a crash because of
attempting to free a static string. (Thankyou to Paul Mackerras.)
There's still a small leak here.
Martin Pool [Sun, 2 Dec 2001 07:22:54 +0000 (07:22 +0000)]
Fix test suite breakage in calling tls.
Clean up test directory on completion.
Martin Pool [Sun, 2 Dec 2001 07:21:55 +0000 (07:21 +0000)]
Bump version
Martin Pool [Sun, 2 Dec 2001 07:17:50 +0000 (07:17 +0000)]
Move old news from release 2.5.0.
Martin Pool [Sun, 2 Dec 2001 07:07:43 +0000 (07:07 +0000)]
More notes from email.
Martin Pool [Sun, 2 Dec 2001 06:17:33 +0000 (06:17 +0000)]
Typo fix from Matt Kraai <kraai@debian.org>
Martin Pool [Sun, 2 Dec 2001 05:12:39 +0000 (05:12 +0000)]
Add note about device major/minor numbers, and about ACLs
David Dykstra [Fri, 30 Nov 2001 22:21:20 +0000 (22:21 +0000)]
Add "$(OBJS): config.h" so everything will rebuild if config.h changes.
Martin Pool [Fri, 30 Nov 2001 22:06:29 +0000 (22:06 +0000)]
Add message to ignore warnings about mktemp
rsync-bugs [Fri, 30 Nov 2001 00:31:06 +0000 (00:31 +0000)]
Modified file stored as well
rsync-bugs [Fri, 30 Nov 2001 00:29:46 +0000 (00:29 +0000)]
preparing for release of 2.5.0
Martin Pool [Fri, 30 Nov 2001 00:29:20 +0000 (00:29 +0000)]
Spec file needs to be generated from a template to include the version
number.
rsync-bugs [Fri, 30 Nov 2001 00:23:11 +0000 (00:23 +0000)]
preparing for release of 2.5.0
Martin Pool [Fri, 30 Nov 2001 00:17:53 +0000 (00:17 +0000)]
Last bug fix for 2.5.0? Make the documentation for -a point out that
it does not in fact propagate hardlinsk.
Martin Pool [Fri, 30 Nov 2001 00:16:14 +0000 (00:16 +0000)]
Note error cases that we ought to improve.