rsync.git
17 years agoNote half-baked Darwin IPv6 support.
Martin Pool [Wed, 28 Nov 2001 07:12:09 +0000 (07:12 +0000)]
Note half-baked Darwin IPv6 support.

17 years agoPut back the --disable-ipv6 option. This should only be needed if
Martin Pool [Wed, 28 Nov 2001 06:52:04 +0000 (06:52 +0000)]
Put back the --disable-ipv6 option.  This should only be needed if
your platform seems to support ipv6, but actually it breaks.  This
seems to be the case for "powerpc-apple-darwin1.4".

17 years agoCall this 2.4.7pre4 v2.4.7pre4
Martin Pool [Wed, 28 Nov 2001 04:32:33 +0000 (04:32 +0000)]
Call this 2.4.7pre4

17 years agoNote on HP-UX's bundled so-called C compiler.
Martin Pool [Wed, 28 Nov 2001 04:10:39 +0000 (04:10 +0000)]
Note on HP-UX's bundled so-called C compiler.

17 years agoHP's cpp apparently can't handle whitespace before #include
Martin Pool [Wed, 28 Nov 2001 03:12:20 +0000 (03:12 +0000)]
HP's cpp apparently can't handle whitespace before #include

17 years agoHP's cpp chokes on preprocessor directives that have whitespace before
Martin Pool [Wed, 28 Nov 2001 02:55:20 +0000 (02:55 +0000)]
HP's cpp chokes on preprocessor directives that have whitespace before
the '#'.  Off to the Implant Office with you!

17 years agoFix inet_ntop/pton names
Martin Pool [Wed, 28 Nov 2001 01:29:41 +0000 (01:29 +0000)]
Fix inet_ntop/pton names

17 years agoProtect AF_INET6 references with #ifdef INET6
Martin Pool [Wed, 28 Nov 2001 00:36:32 +0000 (00:36 +0000)]
Protect AF_INET6 references with #ifdef INET6

17 years agoFix sh
Martin Pool [Tue, 27 Nov 2001 07:59:34 +0000 (07:59 +0000)]
Fix sh

17 years agoShow symlink targets
Martin Pool [Tue, 27 Nov 2001 07:56:33 +0000 (07:56 +0000)]
Show symlink targets

17 years agoBe a bit more verbose
Martin Pool [Tue, 27 Nov 2001 07:54:48 +0000 (07:54 +0000)]
Be a bit more verbose

17 years agomtime and ownership of symlinks can be random, so don't print them.
Martin Pool [Tue, 27 Nov 2001 07:54:03 +0000 (07:54 +0000)]
mtime and ownership of symlinks can be random, so don't print them.

17 years agoBe a bit more verbose
Martin Pool [Tue, 27 Nov 2001 07:32:42 +0000 (07:32 +0000)]
Be a bit more verbose

17 years agoTry to fix headers for UNICOS
Martin Pool [Tue, 27 Nov 2001 07:23:58 +0000 (07:23 +0000)]
Try to fix headers for UNICOS

17 years agoUnbreak recursive ls test
Martin Pool [Tue, 27 Nov 2001 07:19:37 +0000 (07:19 +0000)]
Unbreak recursive ls test

17 years agoOops, fix bash syntax
Martin Pool [Tue, 27 Nov 2001 07:09:47 +0000 (07:09 +0000)]
Oops, fix bash syntax

17 years agoThe size of anything but a regular file is probably not worth thinking
Martin Pool [Tue, 27 Nov 2001 07:07:36 +0000 (07:07 +0000)]
The size of anything but a regular file is probably not worth thinking
about.

17 years agoWhen producing a ls-style permissions string, also handle
Martin Pool [Tue, 27 Nov 2001 07:05:33 +0000 (07:05 +0000)]
When producing a ls-style permissions string, also handle
sticky/setuid/setgid bits the same way as GNU ls.

17 years agoUse tls rather than the OS's ls(1) so that we have more chance of
Martin Pool [Tue, 27 Nov 2001 06:51:51 +0000 (06:51 +0000)]
Use tls rather than the OS's ls(1) so that we have more chance of
reproducible results.

17 years agoAlso list permissions, ownership, size, and mtime.
Martin Pool [Tue, 27 Nov 2001 06:45:47 +0000 (06:45 +0000)]
Also list permissions, ownership, size, and mtime.

17 years agoSplit code to generate "rwx-----" strings into lib/permstring.c so it
Martin Pool [Tue, 27 Nov 2001 06:43:17 +0000 (06:43 +0000)]
Split code to generate "rwx-----" strings into lib/permstring.c so it
can be reused in tls.

17 years agoBuild getaddr/nameinfo into lib/.
Martin Pool [Tue, 27 Nov 2001 06:41:38 +0000 (06:41 +0000)]
Build getaddr/nameinfo into lib/.

17 years agomake clean can rm config.cache but not config.h, or it wil jam.
Martin Pool [Tue, 27 Nov 2001 06:39:02 +0000 (06:39 +0000)]
make clean can rm config.cache but not config.h, or it wil jam.

Build getaddr/nameinfo into lib/.

Split code to generate "rwx-----" strings into lib/permstring.c so it
can be reused in tls.

17 years agoTry to fix LIBOBJ detection of ntop/pton.
Martin Pool [Tue, 27 Nov 2001 06:17:33 +0000 (06:17 +0000)]
Try to fix LIBOBJ detection of ntop/pton.

17 years agoFix missing parameter in log call.
Martin Pool [Tue, 27 Nov 2001 06:01:05 +0000 (06:01 +0000)]
Fix missing parameter in log call.

17 years agoMake clean should also remove the autoconf cache etc.
Martin Pool [Tue, 27 Nov 2001 05:35:14 +0000 (05:35 +0000)]
Make clean should also remove the autoconf cache etc.

17 years agoAdd Paul Vixie's implementation of inet_ntop and inet_pton for
Martin Pool [Tue, 27 Nov 2001 05:22:23 +0000 (05:22 +0000)]
Add Paul Vixie's implementation of inet_ntop and inet_pton for
platforms that don't have them.

17 years agoLook in -lresolv for inet_ntop
Martin Pool [Tue, 27 Nov 2001 04:53:08 +0000 (04:53 +0000)]
Look in -lresolv for inet_ntop

17 years agoCheck for inet_ntop and inet_pton, which may be missing.
Martin Pool [Tue, 27 Nov 2001 03:49:53 +0000 (03:49 +0000)]
Check for inet_ntop and inet_pton, which may be missing.

17 years agoExplain IPv6 merge.
Martin Pool [Tue, 27 Nov 2001 02:28:36 +0000 (02:28 +0000)]
Explain IPv6 merge.

17 years agoBetter fix for case of excluded symlinks that point nowhere when using
David Dykstra [Mon, 26 Nov 2001 19:15:53 +0000 (19:15 +0000)]
Better fix for case of excluded symlinks that point nowhere when using
--copy-links.  The readlink_stat() does need to be done in the normal case
before checking the exclude patterns because it needs to know whether or
not a file is a directory in order to properly handle a trailing slash
in an exclude pattern.  This fix makes make_file() go ahead and call
readlink_stat() but then if the latter returns an ENOENT and copy_links is
on then it will only print an error if the path is not excluded.

17 years agoFix rename of global option
Martin Pool [Mon, 26 Nov 2001 08:21:30 +0000 (08:21 +0000)]
Fix rename of global option

17 years agoRemove kame cruft
Martin Pool [Mon, 26 Nov 2001 08:21:14 +0000 (08:21 +0000)]
Remove kame cruft

17 years agoAttempted clean up some of the IPv6 tests.
Martin Pool [Mon, 26 Nov 2001 08:20:13 +0000 (08:20 +0000)]
Attempted clean up some of the IPv6 tests.

17 years agoFix a small memory leak that was causing an Insure warning.
Martin Pool [Mon, 26 Nov 2001 07:58:47 +0000 (07:58 +0000)]
Fix a small memory leak that was causing an Insure warning.

17 years agoOops, no C++ comments.
Martin Pool [Mon, 26 Nov 2001 07:47:59 +0000 (07:47 +0000)]
Oops, no C++ comments.

17 years agoKill a function for jra.
Martin Pool [Mon, 26 Nov 2001 07:11:55 +0000 (07:11 +0000)]
Kill a function for jra.

17 years agoTry to be better about handling the results of getaddrinfo(): when
Martin Pool [Mon, 26 Nov 2001 07:10:06 +0000 (07:10 +0000)]
Try to be better about handling the results of getaddrinfo(): when
opening an inbound socket, we might get several address results,
e.g. for the machine's ipv4 and ipv6 name.

If binding a wildcard, then any one of them should do.  If an address
was specified but it's insufficiently specific then that's not our
fault.

However, some of the advertized addresses may not work because e.g. we
don't have IPv6 support in the kernel.  In that case go on and try all
addresses until one succeeds.

17 years agoPut the new address family option into an options struct. We have too
Martin Pool [Mon, 26 Nov 2001 04:52:19 +0000 (04:52 +0000)]
Put the new address family option into an options struct.  We have too
many globals already.

Better error messages for network-related failures.

17 years agoSilly autoconf
Martin Pool [Mon, 26 Nov 2001 01:49:33 +0000 (01:49 +0000)]
Silly autoconf

17 years agoCheck for -lnsl, -lsocket, etc, *before* looking for getaddrinfo,
Martin Pool [Mon, 26 Nov 2001 01:15:12 +0000 (01:15 +0000)]
Check for -lnsl, -lsocket, etc, *before* looking for getaddrinfo,
because on Solaris (for one) it's not in libc.

17 years agoRemove highly suspicious redefinition of sockaddr structure -- there
Martin Pool [Mon, 26 Nov 2001 00:41:11 +0000 (00:41 +0000)]
Remove highly suspicious redefinition of sockaddr structure -- there
seems no point using anything but the platform's native definition,
and if we can't get that from the system headers we're hosed anyhow.

17 years agoRemove check for buggy getaddrinfo for the time being -- it's unclear
Martin Pool [Mon, 26 Nov 2001 00:23:29 +0000 (00:23 +0000)]
Remove check for buggy getaddrinfo for the time being -- it's unclear
how this is supposed to help.

Check for netdb.h

17 years agoMake some of the headers used by the KAME getaddrinfo implementation
Martin Pool [Sun, 25 Nov 2001 09:30:36 +0000 (09:30 +0000)]
Make some of the headers used by the KAME getaddrinfo implementation
be conditional -- they are missing on e.g. Solaris.  Not sure if this
will fix it.

17 years agoFix KAME patch to use proper autoconf AC_MSG macros rather than just echo/exit.
Martin Pool [Sat, 24 Nov 2001 05:38:35 +0000 (05:38 +0000)]
Fix KAME patch to use proper autoconf AC_MSG macros rather than just echo/exit.

17 years agoCall this pre3.
Martin Pool [Sat, 24 Nov 2001 05:33:35 +0000 (05:33 +0000)]
Call this pre3.

17 years agoIPv6 is off by default.
Martin Pool [Sat, 24 Nov 2001 05:31:40 +0000 (05:31 +0000)]
IPv6 is off by default.

17 years agoIPv6 is off by default -- it seems to break header files on too many systems.
Martin Pool [Sat, 24 Nov 2001 05:30:27 +0000 (05:30 +0000)]
IPv6 is off by default -- it seems to break header files on too many systems.

17 years agoNote IPv6 and nohang patches. v2.4.7pre2
Martin Pool [Sat, 24 Nov 2001 05:13:12 +0000 (05:13 +0000)]
Note IPv6 and nohang patches.

17 years agoGet rid of rule disliked by Sun Make.
Martin Pool [Sat, 24 Nov 2001 05:06:07 +0000 (05:06 +0000)]
Get rid of rule disliked by Sun Make.

17 years agoSet rsync version in configure.in
Martin Pool [Sat, 24 Nov 2001 04:57:41 +0000 (04:57 +0000)]
Set rsync version in configure.in

Show IPv6 availability in --version.

17 years agoFix Makefile syntax problem when LIBOBJS is defined.
Martin Pool [Sat, 24 Nov 2001 04:33:07 +0000 (04:33 +0000)]
Fix Makefile syntax problem when LIBOBJS is defined.

17 years agoTry to get IPv6 support, unless --disable-ipv6 is explicitly specified.
Martin Pool [Sat, 24 Nov 2001 04:29:37 +0000 (04:29 +0000)]
Try to get IPv6 support, unless --disable-ipv6 is explicitly specified.

17 years agoImproved error messages.
Martin Pool [Sat, 24 Nov 2001 04:22:20 +0000 (04:22 +0000)]
Improved error messages.

17 years agoRebuild if headers changed.
Martin Pool [Sat, 24 Nov 2001 04:16:18 +0000 (04:16 +0000)]
Rebuild if headers changed.

17 years agoMore autoconf fixes.
Martin Pool [Sat, 24 Nov 2001 04:12:54 +0000 (04:12 +0000)]
More autoconf fixes.

17 years agoIgnore trash
Martin Pool [Fri, 23 Nov 2001 07:37:26 +0000 (07:37 +0000)]
Ignore trash

17 years agoMerge KAME.net IPv6 patch: you can now (in theory) pass IPv6 hostnames
Martin Pool [Fri, 23 Nov 2001 07:35:49 +0000 (07:35 +0000)]
Merge KAME.net IPv6 patch: you can now (in theory) pass IPv6 hostnames
or literal IP addresses to rsync, and if your platform supports them
they will be used.  Also there are -4 and -6 command-line options to
choose the default address type.  Thankyou!

17 years agoFix to make_file() to exit earlier if a file is excluded, because doing
David Dykstra [Fri, 16 Nov 2001 19:19:44 +0000 (19:19 +0000)]
Fix to make_file() to exit earlier if a file is excluded, because doing
readlink_stat() on an excluded file can be a problem when using the
--copy-links option (also known as -L) and the excluded file is a symlink
that points nowhere.

17 years agoDocument chroot confusion.
Martin Pool [Fri, 9 Nov 2001 06:58:39 +0000 (06:58 +0000)]
Document chroot confusion.

18 years agoMore notes. mbp_bk_export0
Martin Pool [Wed, 12 Sep 2001 14:35:39 +0000 (14:35 +0000)]
More notes.

18 years agoThink think.
Martin Pool [Wed, 12 Sep 2001 14:20:44 +0000 (14:20 +0000)]
Think think.

18 years agoStart to wrap up all thoughts on what should happen for rsync 3.
Martin Pool [Wed, 12 Sep 2001 08:51:24 +0000 (08:51 +0000)]
Start to wrap up all thoughts on what should happen for rsync 3.

18 years agoFix from Marc Espie to make included-popt work with VPATH builds.
Martin Pool [Wed, 12 Sep 2001 08:46:29 +0000 (08:46 +0000)]
Fix from Marc Espie to make included-popt work with VPATH builds.

18 years agofixed check for timeout in generator
Andrew Tridgell [Sun, 9 Sep 2001 04:42:09 +0000 (04:42 +0000)]
fixed check for timeout in generator

the generator can easily make no progress for a long time, so don't do
timeout processing checks

18 years ago64-bit files depends on the size of OFF_T, not off64_t
Andrew Tridgell [Sun, 9 Sep 2001 04:41:14 +0000 (04:41 +0000)]
64-bit files depends on the size of OFF_T, not off64_t

18 years agodebian stable screws up largefile support for fcntl locking. This adds
Andrew Tridgell [Sat, 8 Sep 2001 12:48:50 +0000 (12:48 +0000)]
debian stable screws up largefile support for fcntl locking. This adds
a test for the screwup and disables largefile support

18 years agoDoc.
Martin Pool [Fri, 7 Sep 2001 07:57:10 +0000 (07:57 +0000)]
Doc.

18 years agoAdd a little implementation of ls(1) so that we can look at all and
Martin Pool [Fri, 7 Sep 2001 07:52:34 +0000 (07:52 +0000)]
Add a little implementation of ls(1) so that we can look at all and
only the attributes of files that rsync is meant to synchronize.

Test cases should depend on testing tools.

18 years agoAdd a little implementation of ls(1) so that we can look at all and
Martin Pool [Fri, 7 Sep 2001 07:52:09 +0000 (07:52 +0000)]
Add a little implementation of ls(1) so that we can look at all and
only the attributes of files that rsync is meant to synchronize.

18 years agoRemove test trace stuff.
Martin Pool [Fri, 7 Sep 2001 07:50:31 +0000 (07:50 +0000)]
Remove test trace stuff.

18 years agoTry to exit 0 if nothing fails.
Martin Pool [Fri, 7 Sep 2001 07:49:34 +0000 (07:49 +0000)]
Try to exit 0 if nothing fails.

18 years agoUpdate copyright notice.
Martin Pool [Fri, 7 Sep 2001 07:35:08 +0000 (07:35 +0000)]
Update copyright notice.

18 years agoDebug exit status -- on Sun1/cc all the tests pass, but make sees an
Martin Pool [Thu, 6 Sep 2001 13:12:28 +0000 (13:12 +0000)]
Debug exit status -- on Sun1/cc all the tests pass, but make sees an
exit status of 1. ???

18 years agoOops, some machines don't have `which`.
Martin Pool [Thu, 6 Sep 2001 13:07:52 +0000 (13:07 +0000)]
Oops, some machines don't have `which`.

18 years agoOops, some machines don't have `which`.
Martin Pool [Thu, 6 Sep 2001 13:04:48 +0000 (13:04 +0000)]
Oops, some machines don't have `which`.

18 years agoSee if head(1) works -- broken on some systems?
Martin Pool [Thu, 6 Sep 2001 06:34:24 +0000 (06:34 +0000)]
See if head(1) works -- broken on some systems?

18 years agoYou cannot do "export VAR=VALUE" all on one line; the export must be
Martin Pool [Thu, 6 Sep 2001 06:30:09 +0000 (06:30 +0000)]
You cannot do "export VAR=VALUE" all on one line; the export must be
separate from the assignment.  (SCO SysV)

18 years agoFix selective definition of *snprintf. (Welcome to mbp's breakage world.)
Martin Pool [Thu, 6 Sep 2001 06:27:02 +0000 (06:27 +0000)]
Fix selective definition of *snprintf.  (Welcome to mbp's breakage world.)

18 years agoMore testsuite cleanups. Now I hope we cope without 'cp -a', though
Martin Pool [Thu, 6 Sep 2001 06:21:15 +0000 (06:21 +0000)]
More testsuite cleanups.  Now I hope we cope without 'cp -a', though
we still need 'cp -p'.

18 years agoBSD machines don't seem to have head(1).
Martin Pool [Thu, 6 Sep 2001 06:06:13 +0000 (06:06 +0000)]
BSD machines don't seem to have head(1).

18 years agoSplit the 'longdir' test into its own script, and make it work without
Martin Pool [Thu, 6 Sep 2001 05:57:27 +0000 (05:57 +0000)]
Split the 'longdir' test into its own script, and make it work without
'mkdir -p'.

18 years agoAdd a makepath() function to cope with machines that do not have
Martin Pool [Thu, 6 Sep 2001 05:52:40 +0000 (05:52 +0000)]
Add a makepath() function to cope with machines that do not have
'mkdir -p'.  (Stone knives and bearskins...)

18 years agoDoc.
Martin Pool [Thu, 6 Sep 2001 05:50:48 +0000 (05:50 +0000)]
Doc.

Look at $whichtests to run just a subset -- good for calling from Make.

18 years agoFix comment.
Martin Pool [Thu, 6 Sep 2001 04:56:55 +0000 (04:56 +0000)]
Fix comment.

18 years agoFiddle umask again.
Martin Pool [Thu, 6 Sep 2001 04:56:02 +0000 (04:56 +0000)]
Fiddle umask again.

18 years agoClean up output a little.
Martin Pool [Thu, 6 Sep 2001 02:30:06 +0000 (02:30 +0000)]
Clean up output a little.

18 years agoSet umask so that symlinks will have the right permissions on BSD.
Martin Pool [Thu, 6 Sep 2001 02:26:21 +0000 (02:26 +0000)]
Set umask so that symlinks will have the right permissions on BSD.

18 years agoFor log messages containing ridiculously long strings that might
Martin Pool [Tue, 4 Sep 2001 03:12:55 +0000 (03:12 +0000)]
For log messages containing ridiculously long strings that might
overflow a buffer rsync no longer aborts, but rather prints an
ellipsis at the end of the string.  (Patch from Ed Santiago.)

18 years agoClean up from rsync+ patch; fix compiler warning.
Martin Pool [Fri, 31 Aug 2001 09:27:35 +0000 (09:27 +0000)]
Clean up from rsync+ patch; fix compiler warning.

18 years agoFix sh syntax for FreeBSD.
Martin Pool [Fri, 31 Aug 2001 09:26:34 +0000 (09:26 +0000)]
Fix sh syntax for FreeBSD.

18 years agoIf we're using built-in *printf functions, then provide prototypes.
Martin Pool [Fri, 31 Aug 2001 09:23:06 +0000 (09:23 +0000)]
If we're using built-in *printf functions, then provide prototypes.

18 years agoCope on machines without INADDR_LOOPBACK.
Martin Pool [Fri, 31 Aug 2001 08:22:00 +0000 (08:22 +0000)]
Cope on machines without INADDR_LOOPBACK.

18 years agoIgnore test tmp dir.
Martin Pool [Fri, 31 Aug 2001 08:16:23 +0000 (08:16 +0000)]
Ignore test tmp dir.

18 years agoRun the daemon test using faked tcp connections.
Martin Pool [Fri, 31 Aug 2001 08:13:57 +0000 (08:13 +0000)]
Run the daemon test using faked tcp connections.

18 years agoGrammar fix.
Martin Pool [Fri, 31 Aug 2001 08:12:35 +0000 (08:12 +0000)]
Grammar fix.

18 years agoAdd comment about handling of 'use chroot'
Martin Pool [Fri, 31 Aug 2001 08:08:42 +0000 (08:08 +0000)]
Add comment about handling of 'use chroot'

18 years agoMerge in the LIBSMB_PROG idea from samba, so that you can do
Martin Pool [Fri, 31 Aug 2001 07:06:13 +0000 (07:06 +0000)]
Merge in the LIBSMB_PROG idea from samba, so that you can do

  RSYNC_CONNECT_PROG='./rsync --daemon' ./rsync -vvvvvv  localhost::

to test as a daemon without actually having to listen on a port.

18 years agoDoc.
Martin Pool [Fri, 31 Aug 2001 06:48:35 +0000 (06:48 +0000)]
Doc.

Try to give a better error message when there is a remote option error.

18 years agoOption should be --recursive, not --recurse. (This is what it was in
Martin Pool [Fri, 31 Aug 2001 06:29:45 +0000 (06:29 +0000)]
Option should be --recursive, not --recurse.   (This is what it was in
--help and 2.4.6.)