rsync.git
21 years agoOpen config files in text mode when O_TEXT is defined. This helps on
David Dykstra [Sun, 26 Jan 2003 03:46:54 +0000 (03:46 +0000)]
Open config files in text mode when O_TEXT is defined.  This helps on
Cygwin when the config files are on a filesystem that is mounted in
binary mode.  Patch from Ville Herva.

21 years agoTests that use hands_setup to make a test file directory and right
David Dykstra [Sun, 26 Jan 2003 03:34:19 +0000 (03:34 +0000)]
Tests that use hands_setup to make a test file directory and right
afterward make a copy were failing on cygwin because the default
--modify-windows now 1 on Cygwin.  Adding a 2 second sleep at the end of
hands_setup so that hopefully the tests will succeed because the copy
will be made more than 1 second away from the original.

21 years agoDon't try to run daemon tests as "nobody".
Wayne Davison [Sat, 25 Jan 2003 03:46:57 +0000 (03:46 +0000)]
Don't try to run daemon tests as "nobody".

21 years agoGetting rid of recent "chown" since we decided to forego trying to run
Wayne Davison [Sat, 25 Jan 2003 03:45:40 +0000 (03:45 +0000)]
Getting rid of recent "chown" since we decided to forego trying to run
the daemon tests as "nobody".

21 years agoChange default of --modify-window on Cygwin from 2 to 1 because that's all
David Dykstra [Fri, 24 Jan 2003 22:07:22 +0000 (22:07 +0000)]
Change default of --modify-window on Cygwin from 2 to 1 because that's all
that's needed on FAT filesystems.  NTFS filesystems can do with a window of
0, but it shouldn't hurt because it's highly unlikely that any given file
will be modified within one second of the time that rsync last copied it.

21 years agoRestore trailing newline character at the end of the file.
Paul Green [Thu, 23 Jan 2003 17:18:20 +0000 (17:18 +0000)]
Restore trailing newline character at the end of the file.

21 years agoMentioned the fact that config.sub and config.guess got updated.
Paul Green [Wed, 22 Jan 2003 22:59:35 +0000 (22:59 +0000)]
Mentioned the fact that config.sub and config.guess got updated.

21 years agoUpdated config.sub and config.guess to latest revision.
Paul Green [Wed, 22 Jan 2003 22:24:53 +0000 (22:24 +0000)]
Updated config.sub and config.guess to latest revision.

21 years agoMention test-case fixes.
Wayne Davison [Tue, 21 Jan 2003 20:25:44 +0000 (20:25 +0000)]
Mention test-case fixes.

21 years agoMoved the chown from the download test to the upload test.
Wayne Davison [Tue, 21 Jan 2003 20:19:53 +0000 (20:19 +0000)]
Moved the chown from the download test to the upload test.

21 years agoChown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
Wayne Davison [Tue, 21 Jan 2003 20:19:53 +0000 (20:19 +0000)]
Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
can, and don't fail if we can't).

21 years agoChown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
Wayne Davison [Tue, 21 Jan 2003 19:30:51 +0000 (19:30 +0000)]
Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
can, and don't fail if we can't).

21 years agoPut the UID and GID that rsyncd will run as into variables.
Wayne Davison [Tue, 21 Jan 2003 19:28:29 +0000 (19:28 +0000)]
Put the UID and GID that rsyncd will run as into variables.

21 years agoSeparated a `cat "..."` command out from inside a double-quoted string
Wayne Davison [Tue, 21 Jan 2003 19:27:11 +0000 (19:27 +0000)]
Separated a `cat "..."` command out from inside a double-quoted string
so that we don't run afoul of some shells quoting quirks.  (As Brian
Poole suggested.)

21 years agoChange the name on the --modify-window default for Cygwin to Lapo Luchini.
David Dykstra [Tue, 21 Jan 2003 14:22:49 +0000 (14:22 +0000)]
Change the name on the --modify-window default for Cygwin to Lapo Luchini.

21 years agoChange version to working version 2.5.6pre3cvs
David Dykstra [Tue, 21 Jan 2003 04:23:43 +0000 (04:23 +0000)]
Change version to working version 2.5.6pre3cvs

21 years agoChange version to 2.5.6pre2
David Dykstra [Tue, 21 Jan 2003 04:00:56 +0000 (04:00 +0000)]
Change version to 2.5.6pre2

21 years agoDeclare preserve_perms for latest syscall.o.
Wayne Davison [Tue, 21 Jan 2003 01:35:23 +0000 (01:35 +0000)]
Declare preserve_perms for latest syscall.o.

21 years agoIgnore errors from chmod when --preserve-perms/-p/-a are not set.
David Dykstra [Tue, 21 Jan 2003 00:58:50 +0000 (00:58 +0000)]
Ignore errors from chmod when --preserve-perms/-p/-a are not set.
Gnu cp behaves the same way.

21 years agoAdded a couple missing NEWS items.
Wayne Davison [Mon, 20 Jan 2003 23:49:22 +0000 (23:49 +0000)]
Added a couple missing NEWS items.

21 years agoRe-activate the piece of code that creates intervening directories
David Dykstra [Mon, 20 Jan 2003 23:32:17 +0000 (23:32 +0000)]
Re-activate the piece of code that creates intervening directories
when --relative-paths is used.  The code was accidentally skipped starting
in CVS version 1.32 of receiver.c.  Noticed by Craig Barratt.

21 years agoUpdate description of hosts allow for IPv6. From Bert Vermeulen.
David Dykstra [Mon, 20 Jan 2003 23:10:22 +0000 (23:10 +0000)]
Update description of hosts allow for IPv6.  From Bert Vermeulen.

21 years agoMake the default for --modify-window be 2 on cygwin.
David Dykstra [Mon, 20 Jan 2003 23:09:24 +0000 (23:09 +0000)]
Make the default for --modify-window be 2 on cygwin.

21 years agoBacked out Paul Green's IRIX patch since it didn't seem to be a part of
Wayne Davison [Mon, 20 Jan 2003 18:26:14 +0000 (18:26 +0000)]
Backed out Paul Green's IRIX patch since it didn't seem to be a part of
the Makefile fix and I like the old EXE syntax better.

21 years agoSave the value of the test for getaddrinfo defines in the config cache.
David Dykstra [Mon, 20 Jan 2003 17:25:26 +0000 (17:25 +0000)]
Save the value of the test for getaddrinfo defines in the config cache.

21 years agoAlso need to include lib/getnameinfo when the getaddrinfo defines don't exist.
David Dykstra [Mon, 20 Jan 2003 16:59:18 +0000 (16:59 +0000)]
Also need to include lib/getnameinfo when the getaddrinfo defines don't exist.

21 years agoOops, lib/getaddrinfo wasn't pulled in when the system doesn't define
David Dykstra [Mon, 20 Jan 2003 16:27:34 +0000 (16:27 +0000)]
Oops, lib/getaddrinfo wasn't pulled in when the system doesn't define
AI_PASSIVE.

21 years agoOnly look for a system getaddrinfo/getnameinfo if AI_PASSIVE is defined
David Dykstra [Mon, 20 Jan 2003 15:04:16 +0000 (15:04 +0000)]
Only look for a system getaddrinfo/getnameinfo if AI_PASSIVE is defined
by system headers.  This fixes compile errors on Irix 6.5.

21 years agoFix bug that causes messages like
David Dykstra [Mon, 20 Jan 2003 13:46:28 +0000 (13:46 +0000)]
Fix bug that causes messages like
    rsync: stack overflow in function match_address
on openbsd.  Patch from Brian Poole <raj@cerias.purdue.edu>.

21 years agoAdd unsafe-byname tests with symlink destinations ending in '..'.
David Dykstra [Mon, 20 Jan 2003 12:42:42 +0000 (12:42 +0000)]
Add unsafe-byname tests with symlink destinations ending in '..'.

21 years agoOptimized unsafe_symlink() to avoid malloc/free calls.
Wayne Davison [Sun, 19 Jan 2003 21:37:11 +0000 (21:37 +0000)]
Optimized unsafe_symlink() to avoid malloc/free calls.

21 years agoAdded "extern" to io_{read,write}_phase line (they were being
Wayne Davison [Sun, 19 Jan 2003 05:53:07 +0000 (05:53 +0000)]
Added "extern" to io_{read,write}_phase line (they were being
multiply defined).

21 years agoGot rid of trailing whitespace and tweaked a few things that might
Wayne Davison [Sat, 18 Jan 2003 19:11:55 +0000 (19:11 +0000)]
Got rid of trailing whitespace and tweaked a few things that might
possibly be affecting the IRIX build (but probably not).

21 years agoDefine DBL_EPSILON if it doesn't exist.
Wayne Davison [Sat, 18 Jan 2003 19:00:07 +0000 (19:00 +0000)]
Define DBL_EPSILON if it doesn't exist.

21 years agoTrying out Paul Green's IRIX patch to see if it fixes the syntax
Wayne Davison [Sat, 18 Jan 2003 18:52:50 +0000 (18:52 +0000)]
Trying out Paul Green's IRIX patch to see if it fixes the syntax
error in the Makefile.

21 years agoFixed the bug in clean_flist() where it did not get rid of all duplicate
Wayne Davison [Sat, 18 Jan 2003 18:00:23 +0000 (18:00 +0000)]
Fixed the bug in clean_flist() where it did not get rid of all duplicate
names if there were more than 2 identical names in a row.

21 years agoChange rsync help for -a to show that it is equivalent to -rlptgoD.
David Dykstra [Thu, 16 Jan 2003 21:02:43 +0000 (21:02 +0000)]
Change rsync help for -a to show that it is equivalent to -rlptgoD.
I've had to go to the man page many times for that information and I
finally got sick of it.

21 years agoPrevent infinite recursion in exit_cleanup(). Patch from Sviatoslav Sviridov.
David Dykstra [Thu, 16 Jan 2003 20:09:31 +0000 (20:09 +0000)]
Prevent infinite recursion in exit_cleanup().  Patch from Sviatoslav Sviridov.

21 years agoMake unsafe_symlink() take const args so that we don't get any
Wayne Davison [Wed, 15 Jan 2003 17:49:44 +0000 (17:49 +0000)]
Make unsafe_symlink() take const args so that we don't get any
compiler warnings when calling it with a const char *.

21 years agoAdd news item about fix of --copy-unsafe-links
David Dykstra [Wed, 15 Jan 2003 16:41:51 +0000 (16:41 +0000)]
Add news item about fix of --copy-unsafe-links

21 years agoFix bug in --copy-unsafe that made it totally broken, and re-enable
David Dykstra [Wed, 15 Jan 2003 16:14:07 +0000 (16:14 +0000)]
Fix bug in --copy-unsafe that made it totally broken, and re-enable
the tests that tested it.  As far as I can tell, it was always broken
since the day I put it in years ago.  In my investigation into this I
was unable to figure out what in the world I was thinking back then,
to introduce a global variable with the wrong information in it rather
than using a parameter that was already available in readlink_stat
function.  That still bothers me a bit but I decided to stop worrying
about it.

21 years agoDon't use the return value from sprintf because it doesn't work on Sunos4.
David Dykstra [Tue, 14 Jan 2003 21:37:08 +0000 (21:37 +0000)]
Don't use the return value from sprintf because it doesn't work on Sunos4.

21 years agoNow that the 2.5.6pre1 snapshot has been made, change the version to
David Dykstra [Mon, 13 Jan 2003 17:21:12 +0000 (17:21 +0000)]
Now that the 2.5.6pre1 snapshot has been made, change the version to
2.5.6pre2cvs.

21 years agoChange version to 2.5.6pre1
David Dykstra [Mon, 13 Jan 2003 16:40:15 +0000 (16:40 +0000)]
Change version to 2.5.6pre1

21 years agoChanged the alloca warning message.
Wayne Davison [Sun, 12 Jan 2003 22:45:47 +0000 (22:45 +0000)]
Changed the alloca warning message.

21 years agoUse the old kludge of using malloc() if alloca() is missing.
Wayne Davison [Sun, 12 Jan 2003 21:49:44 +0000 (21:49 +0000)]
Use the old kludge of using malloc() if alloca() is missing.

21 years agoReduced the severity of the warning about missing alloca to a warning, and
David Dykstra [Sun, 12 Jan 2003 04:02:25 +0000 (04:02 +0000)]
Reduced the severity of the warning about missing alloca to a warning, and
changed the test to the common form of prefixing an x to both sides of
an equivalence because it didn't even notice a problem on the cray when
it was instead using test -n.
Also noticed an error in the test for ANSI c, doing a "$xac..." = xno"
when it should have been "x$ac..." = xno, so I fixed that too.

21 years agoOops, had the sense of the test for the existence of alloca() backwards.
David Dykstra [Sun, 12 Jan 2003 03:28:13 +0000 (03:28 +0000)]
Oops, had the sense of the test for the existence of alloca() backwards.

21 years agoMake configure bomb if the included popt is needed but alloca is not
David Dykstra [Sun, 12 Jan 2003 03:11:38 +0000 (03:11 +0000)]
Make configure bomb if the included popt is needed but alloca is not
available, as apparently is the case on Cray UNICOS.  The AC_FUNC_ALLOCA
autoconf documentation talks about having an included alloca.c and
periodically calling alloca(0) to garbage collect when C_ALLOCA is defined,
but I don't know where to get the code or if there's anybody that cares
enough about the UNICOS port for it to be worth the trouble.

21 years agoCast the return from alloca to work better on UNICOS.
David Dykstra [Sat, 11 Jan 2003 19:01:31 +0000 (19:01 +0000)]
Cast the return from alloca to work better on UNICOS.

21 years agoCast the return of alloca to remove a fatal error on Cray UNICOS.
David Dykstra [Sat, 11 Jan 2003 14:39:41 +0000 (14:39 +0000)]
Cast the return of alloca to remove a fatal error on Cray UNICOS.

21 years agoYet another try at getting this to skip on cygwin.
Wayne Davison [Sat, 11 Jan 2003 08:19:24 +0000 (08:19 +0000)]
Yet another try at getting this to skip on cygwin.

21 years agoHopefully this version will skip correctly on cygwin.
Wayne Davison [Sat, 11 Jan 2003 07:39:49 +0000 (07:39 +0000)]
Hopefully this version will skip correctly on cygwin.

21 years agoTry a different tact to get cygwin to skip this test.
Wayne Davison [Sat, 11 Jan 2003 07:22:40 +0000 (07:22 +0000)]
Try a different tact to get cygwin to skip this test.

21 years agoThe inet_pton() man page says we need to pass in a pointer to a
Wayne Davison [Sat, 11 Jan 2003 02:05:56 +0000 (02:05 +0000)]
The inet_pton() man page says we need to pass in a pointer to a
struct in_addr, which means passing &sin.sin_addr instead of
&sin.sin_addr.s_addr.  Also changed the AF_INET6 version to pass
&sin6.sin6_addr.  Hopefully this will fix UNICOS and not break
anyone else.

21 years agoCast poptGetOptArg() to remove a compiler warning.
Wayne Davison [Sat, 11 Jan 2003 01:29:30 +0000 (01:29 +0000)]
Cast poptGetOptArg() to remove a compiler warning.

21 years ago+ The prototype for isc_net_pton() should have been inet_pton().
Wayne Davison [Fri, 10 Jan 2003 20:09:58 +0000 (20:09 +0000)]
+ The prototype for isc_net_pton() should have been inet_pton().
+ Define IN_LOOPBACKNET if it is not already defined.

21 years agoOnly refer to S_ISVTX if S_ISVTX is defined.
Wayne Davison [Fri, 10 Jan 2003 20:08:43 +0000 (20:08 +0000)]
Only refer to S_ISVTX if S_ISVTX is defined.

21 years ago+ Fixed a comment that referred to isc_net_pton() instead of inet_pton().
Wayne Davison [Fri, 10 Jan 2003 20:08:12 +0000 (20:08 +0000)]
+ Fixed a comment that referred to isc_net_pton() instead of inet_pton().
+ Only prototype inet_pton6() if INET6 is defined.

21 years agoDon't use '#' in the dsttmp filename.
Wayne Davison [Fri, 10 Jan 2003 19:58:51 +0000 (19:58 +0000)]
Don't use '#' in the dsttmp filename.

21 years agoPaul Green's changes to add $(EXEEXT) and $(CPPFLAGS) as appropriate.
Wayne Davison [Fri, 10 Jan 2003 19:58:16 +0000 (19:58 +0000)]
Paul Green's changes to add $(EXEEXT) and $(CPPFLAGS) as appropriate.

21 years agoThe call to test_skipped if makepath failed didn't work, presumably because
David Dykstra [Fri, 10 Jan 2003 18:32:59 +0000 (18:32 +0000)]
The call to test_skipped if makepath failed didn't work, presumably because
makepath is builtin and there's some problem with it causing /bin/sh to
exit on cygwin.  Parens around the call to makepath should help.

21 years agoClean up better after the testsuite check programs. Patch from J.W. Schultz.
David Dykstra [Fri, 10 Jan 2003 15:16:23 +0000 (15:16 +0000)]
Clean up better after the testsuite check programs.  Patch from J.W. Schultz.

21 years agoSkip the longdir test if the long directory can't even be created, such as
David Dykstra [Fri, 10 Jan 2003 15:06:10 +0000 (15:06 +0000)]
Skip the longdir test if the long directory can't even be created, such as
on cygwin (maybe only on certain filesystems?).

21 years agoReset the io_error_fd right before the generator kills off the receiver
Wayne Davison [Fri, 10 Jan 2003 08:32:09 +0000 (08:32 +0000)]
Reset the io_error_fd right before the generator kills off the receiver
(because the death of the receiver will close the fd and cause the
generator to fail in any subsequent IO).

21 years agoAI_NUMERICHOST is not defined on AIX.
David Dykstra [Thu, 9 Jan 2003 21:30:24 +0000 (21:30 +0000)]
AI_NUMERICHOST is not defined on AIX.

21 years agoSupport IPv6 addresses with "hosts allow" and "hosts deny". Patch from
David Dykstra [Thu, 9 Jan 2003 21:14:10 +0000 (21:14 +0000)]
Support IPv6 addresses with "hosts allow" and "hosts deny".   Patch from
Hideaki Yoshifuji.

21 years agoFixed bug that caused rsync to lose exit status of its child processes.
David Dykstra [Thu, 9 Jan 2003 19:04:06 +0000 (19:04 +0000)]
Fixed bug that caused rsync to lose exit status of its child processes.
Based on patch submited by David R. Staples.  Todd Vander Does contributed
the following test which showed the problem:
  > mkdir /tmp/nowrite
  > chmod -w /tmp/nowrite
  > rsync /etc/group /tmp/nowrite || echo $status
  mkstemp .group.cUaaeY failed
  rsync error: partial transfer (code 23) at main.c(518)
  23
  > rsync -e ssh loki:/etc/group /tmp/nowrite || echo $status
  mkstemp .group.1rayeY failed
  > rsync -e ssh loki:/etc/group /tmp/nowrite && echo $status
  mkstemp .group.fbaGiY failed
  0
The remote copy should have returned non-zero exit code like the local copy.

21 years agoAdded .svn/ to the cvs_ignore_list and some trailing slashes to the
Wayne Davison [Thu, 9 Jan 2003 03:55:57 +0000 (03:55 +0000)]
Added .svn/ to the cvs_ignore_list and some trailing slashes to the
other dirs in the list.

21 years agoAdded .svn/ to the --cvs-exclude list and some trailing slashes to the
Wayne Davison [Thu, 9 Jan 2003 03:53:24 +0000 (03:53 +0000)]
Added .svn/ to the --cvs-exclude list and some trailing slashes to the
other dirs in the list.

21 years agoAdd "void" to some function definitions so that all declarations in proto.h
Jos Backus [Tue, 24 Dec 2002 07:42:04 +0000 (07:42 +0000)]
Add "void" to some function definitions so that all declarations in proto.h
have full parameter lists. This helps unbreaking compilation on SCO UNIXWare.

Submitted by: Stephen Friedl

21 years agoChange all relevant occurrences of ``rsync'' and ``$rsync_bin'' to the
Jos Backus [Tue, 24 Dec 2002 07:25:25 +0000 (07:25 +0000)]
Change all relevant occurrences of ``rsync'' and ``$rsync_bin'' to the
canonical form ``$RSYNC'' (set in testsuite/rsync.fns). This prevents any
stray rsync binaries in the user's PATH from being picked up by the test
scripts and ensures that the newly built rsync binary is used always.

21 years agoWhen a file shows up as not existent during an rsync run, always check
David Dykstra [Wed, 11 Dec 2002 18:48:27 +0000 (18:48 +0000)]
When a file shows up as not existent during an rsync run, always check
to see if it excluded before reporting an error.  Previously it was only
checking for the exclusion if copy_links was enabled, but the error can
also occur if a file disappears during an rsync run.  Suggested by Eugene
V. Chupriyanov and Bo Kersey.

21 years agoFix the chgrp and hardlinks tests by running $RSYNC instead of relying on the
Jos Backus [Tue, 5 Nov 2002 18:35:59 +0000 (18:35 +0000)]
Fix the chgrp and hardlinks tests by running $RSYNC instead of relying on the
new rsync being in $PATH; it may pick up an old version, invalidating the
result of the tests. This is what the other tests do already.

Submitted by: Joel Shprentz <ShprentzJ@nima.mil>

21 years agoWhen using daemon mode over a remote shell program and not running as root,
David Dykstra [Fri, 30 Aug 2002 23:27:26 +0000 (23:27 +0000)]
When using daemon mode over a remote shell program and not running as root,
default the config file to just "rsyncd.conf" in the current directory
instead of /etc/rsyncd.conf.  Also, fix problems with logging messages when
running daemon mode over a remote shell program: it was pretty much doing
the opposite of what it should have, sending early error messages to the
log and later messages to the client.  Switched it around so the very early
error messages go to the client and the later ones go to the log.

21 years agoChange wording of --compare-dest option to refer to the --link-dest option.
David Dykstra [Fri, 30 Aug 2002 15:12:47 +0000 (15:12 +0000)]
Change wording of --compare-dest option to refer to the --link-dest option.

21 years agoAdd --link-dest option from J.W. Schultz.
David Dykstra [Thu, 29 Aug 2002 14:44:55 +0000 (14:44 +0000)]
Add --link-dest option from J.W. Schultz.

21 years agoPatch from J.W. Schultz to have --include-from and --exclude-from on
David Dykstra [Thu, 29 Aug 2002 14:37:20 +0000 (14:37 +0000)]
Patch from J.W. Schultz to have --include-from and --exclude-from on
filename "-" read from standard input.

21 years ago* Don't call getnameinfo() if we've already populated the addr_buf.
Wayne Davison [Fri, 2 Aug 2002 17:11:39 +0000 (17:11 +0000)]
* Don't call getnameinfo() if we've already populated the addr_buf.
* Moved some structures in client_name() so that they remain in-scope for
  the entire function (since we set pointers to their storage location).
* Allow the dot-counting loop to increment to 4 instead of stopping at 3.

21 years agoPut in better method of checking whether or not daemon over --rsh mode is
David Dykstra [Fri, 2 Aug 2002 15:39:43 +0000 (15:39 +0000)]
Put in better method of checking whether or not daemon over --rsh mode is
in place: simply check the "am_server" global variable, which is not set
true when the daemon is listening for connections (daemon_main is not
called in main.c if am_server is set).

21 years agoFix client_name to work on when INET6 is enabled but using a 4-part IPv4
David Dykstra [Fri, 2 Aug 2002 15:05:03 +0000 (15:05 +0000)]
Fix client_name to work on when INET6 is enabled but using a 4-part IPv4
IP address.  Tested on Linux, but only with an IPv4 ssh.  Somebody who has
IPv6 enabled on ssh needs to test it yet.

21 years agoFix last change to use correct IPv6 structure names when using INET6.
David Dykstra [Thu, 1 Aug 2002 21:57:23 +0000 (21:57 +0000)]
Fix last change to use correct IPv6 structure names when using INET6.
Doesn't yet look up names correctly on Linux with INET6 enabled, however;
needs further work but I don't have time right now.

21 years agoDon't pass "-l user" to the remote shell if we're starting a server-daemon
Wayne Davison [Thu, 1 Aug 2002 20:46:59 +0000 (20:46 +0000)]
Don't pass "-l user" to the remote shell if we're starting a server-daemon
and the command already has a "-l user" option.

21 years agoFix to correctly identify remote IP address and host name when using
David Dykstra [Thu, 1 Aug 2002 19:17:00 +0000 (19:17 +0000)]
Fix to correctly identify remote IP address and host name when using
-e ssh and :: together.  Uses $SSH_CLIENT to locate the IP address
(was attempting to before but it didn't always work) and then uses
inet_pton() on that and getnameinfo() to find the name.

21 years agoDocumented that the rsync:// URL syntax is now legal in the destination.
Wayne Davison [Thu, 1 Aug 2002 17:55:40 +0000 (17:55 +0000)]
Documented that the  URL syntax is now legal in the destination.

21 years agoMention the new rsync:// URL-in-the-destination syntax.
Wayne Davison [Thu, 1 Aug 2002 17:55:11 +0000 (17:55 +0000)]
Mention the new  URL-in-the-destination syntax.

21 years agoAllow the rsync:// URL syntax in the destination field.
Wayne Davison [Thu, 1 Aug 2002 17:53:38 +0000 (17:53 +0000)]
Allow the  URL syntax in the destination field.

21 years agoDocument more recent changes.
Wayne Davison [Thu, 1 Aug 2002 17:53:07 +0000 (17:53 +0000)]
Document more recent changes.

21 years agoMention the recent commits.
Wayne Davison [Thu, 1 Aug 2002 16:50:46 +0000 (16:50 +0000)]
Mention the recent commits.

21 years agoSlight change to refer to the section CONNECTING TO AN RSYNC SERVER OVER A
David Dykstra [Thu, 1 Aug 2002 16:21:20 +0000 (16:21 +0000)]
Slight change to refer to the section CONNECTING TO AN RSYNC SERVER OVER A
REMOTE SHELL PROGRAM from within the --rsh option.

21 years agoThe function passed to start_accept_loop() now takes 2 fd ints (for
Wayne Davison [Thu, 1 Aug 2002 00:37:08 +0000 (00:37 +0000)]
The function passed to start_accept_loop() now takes 2 fd ints (for
the daemon via remote-shell support).

21 years agoDocument the new server-daemon via remote-shell mode.
Wayne Davison [Thu, 1 Aug 2002 00:37:06 +0000 (00:37 +0000)]
Document the new server-daemon via remote-shell mode.

21 years agoIf daemon_over_rsh is set, we limit the generated options to just
Wayne Davison [Thu, 1 Aug 2002 00:37:01 +0000 (00:37 +0000)]
If daemon_over_rsh is set, we limit the generated options to just
--server and --daemon.

21 years agoHandle the new server-daemon via remote-shell mode.
Wayne Davison [Thu, 1 Aug 2002 00:36:59 +0000 (00:36 +0000)]
Handle the new server-daemon via remote-shell mode.

21 years agoMoved the end of start_socket_client() into a new function called
Wayne Davison [Thu, 1 Aug 2002 00:36:56 +0000 (00:36 +0000)]
Moved the end of start_socket_client() into a new function called
start_inband_exchange() and made several functions take two fds
(for the daemon via remote-shell support).  The start_daemon()
function is no longer static and now works on non-socket fds.

21 years agoChanged auth_server() to take two fds (for the daemon via remote-shell
Wayne Davison [Thu, 1 Aug 2002 00:36:54 +0000 (00:36 +0000)]
Changed auth_server() to take two fds (for the daemon via remote-shell
support).

21 years agoStefan Nehlsen's fix of a timeout problem on large files.
Wayne Davison [Wed, 31 Jul 2002 21:20:07 +0000 (21:20 +0000)]
Stefan Nehlsen's fix of a timeout problem on large files.
(Modified to work with the latest CVS source.)

21 years agoMention the popt upgrade.
Wayne Davison [Sat, 27 Jul 2002 18:33:54 +0000 (18:33 +0000)]
Mention the popt upgrade.

21 years agoCheck for the float.h header file (for popt).
Wayne Davison [Sat, 27 Jul 2002 18:33:30 +0000 (18:33 +0000)]
Check for the float.h header file (for popt).

21 years agoUpdated to version 1.6.4.
Wayne Davison [Sat, 27 Jul 2002 18:32:25 +0000 (18:32 +0000)]
Updated to version 1.6.4.