Martin Pool
b8771f9615
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.
2001-11-26 07:10:06 +00:00
Martin Pool
d5d4b28220
Put the new address family option into an options struct. We have too
...
many globals already.
Better error messages for network-related failures.
2001-11-26 04:52:19 +00:00
Martin Pool
a037edaccd
Silly autoconf
2001-11-26 01:49:33 +00:00
Martin Pool
356bbb8351
Check for -lnsl, -lsocket, etc, *before* looking for getaddrinfo,
...
because on Solaris (for one) it's not in libc.
2001-11-26 01:15:12 +00:00
Martin Pool
1f0fa9318a
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.
2001-11-26 00:41:11 +00:00
Martin Pool
15c1707887
Remove check for buggy getaddrinfo for the time being -- it's unclear
...
how this is supposed to help.
Check for netdb.h
2001-11-26 00:23:29 +00:00
Martin Pool
9dec7aa9c1
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.
2001-11-25 09:30:36 +00:00
Martin Pool
bc3d7454e0
Fix KAME patch to use proper autoconf AC_MSG macros rather than just echo/exit.
2001-11-24 05:38:35 +00:00
Martin Pool
56901bc7c3
Call this pre3.
2001-11-24 05:33:35 +00:00
Martin Pool
5c7f570b16
IPv6 is off by default.
2001-11-24 05:31:40 +00:00
Martin Pool
4f6e5fe323
IPv6 is off by default -- it seems to break header files on too many systems.
2001-11-24 05:30:27 +00:00
Martin Pool
7d682ffea7
Note IPv6 and nohang patches.
v2.4.7pre2
2001-11-24 05:13:12 +00:00
Martin Pool
cef40af209
Get rid of rule disliked by Sun Make.
2001-11-24 05:06:07 +00:00
Martin Pool
a358449ab1
Set rsync version in configure.in
...
Show IPv6 availability in --version.
2001-11-24 04:57:41 +00:00
Martin Pool
8ef6b72514
Fix Makefile syntax problem when LIBOBJS is defined.
2001-11-24 04:33:07 +00:00
Martin Pool
620bbabc61
Try to get IPv6 support, unless --disable-ipv6 is explicitly specified.
2001-11-24 04:29:37 +00:00
Martin Pool
7ef6aa6405
Improved error messages.
2001-11-24 04:22:20 +00:00
Martin Pool
7ad1d4fd66
Rebuild if headers changed.
2001-11-24 04:16:18 +00:00
Martin Pool
bf5c2bf604
More autoconf fixes.
2001-11-24 04:12:54 +00:00
Martin Pool
b8fe70a516
Ignore trash
2001-11-23 07:37:26 +00:00
Martin Pool
06963d0fca
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!
2001-11-23 07:35:49 +00:00
David Dykstra
b964901f7d
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.
2001-11-16 19:19:44 +00:00
Martin Pool
b52c1d9d3a
Document chroot confusion.
2001-11-09 06:58:39 +00:00
Martin Pool
a24e12e6dd
More notes.
mbp_bk_export0
2001-09-12 14:35:39 +00:00
Martin Pool
3c6cd53b23
Think think.
2001-09-12 14:20:44 +00:00
Martin Pool
4f69fe59c7
Start to wrap up all thoughts on what should happen for rsync 3.
2001-09-12 08:51:24 +00:00
Martin Pool
d2e02b7d96
Fix from Marc Espie to make included-popt work with VPATH builds.
2001-09-12 08:46:29 +00:00
Andrew Tridgell
a57873b710
fixed check for timeout in generator
...
the generator can easily make no progress for a long time, so don't do
timeout processing checks
2001-09-09 04:42:09 +00:00
Andrew Tridgell
30ce7e8a64
64-bit files depends on the size of OFF_T, not off64_t
2001-09-09 04:41:14 +00:00
Andrew Tridgell
f0af1e5ec6
debian stable screws up largefile support for fcntl locking. This adds
...
a test for the screwup and disables largefile support
2001-09-08 12:48:50 +00:00
Martin Pool
f7ca98bdc4
Doc.
2001-09-07 07:57:10 +00:00
Martin Pool
7df0935a51
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.
2001-09-07 07:52:34 +00:00
Martin Pool
f22ee86517
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.
2001-09-07 07:52:09 +00:00
Martin Pool
8f98c608b9
Remove test trace stuff.
2001-09-07 07:50:31 +00:00
Martin Pool
32c58f06e0
Try to exit 0 if nothing fails.
2001-09-07 07:49:34 +00:00
Martin Pool
040f7b6595
Update copyright notice.
2001-09-07 07:35:08 +00:00
Martin Pool
d2476f0db3
Debug exit status -- on Sun1/cc all the tests pass, but make sees an
...
exit status of 1. ???
2001-09-06 13:12:28 +00:00
Martin Pool
952cf8f4f3
Oops, some machines don't have which.
2001-09-06 13:07:52 +00:00
Martin Pool
a138e47560
Oops, some machines don't have which.
2001-09-06 13:04:48 +00:00
Martin Pool
7d6916547f
See if head(1) works -- broken on some systems?
2001-09-06 06:34:24 +00:00
Martin Pool
6cd7888e46
You cannot do "export VAR=VALUE" all on one line; the export must be
...
separate from the assignment. (SCO SysV)
2001-09-06 06:30:09 +00:00
Martin Pool
1d54358e52
Fix selective definition of *snprintf. (Welcome to mbp's breakage world.)
2001-09-06 06:27:02 +00:00
Martin Pool
4c80c473ed
More testsuite cleanups. Now I hope we cope without 'cp -a', though
...
we still need 'cp -p'.
2001-09-06 06:21:15 +00:00
Martin Pool
571a4b2654
BSD machines don't seem to have head(1).
2001-09-06 06:06:13 +00:00
Martin Pool
501972bf72
Split the 'longdir' test into its own script, and make it work without
...
'mkdir -p'.
2001-09-06 05:57:27 +00:00
Martin Pool
99cdaff70d
Add a makepath() function to cope with machines that do not have
...
'mkdir -p'. (Stone knives and bearskins...)
2001-09-06 05:52:40 +00:00
Martin Pool
c36b5017b8
Doc.
...
Look at $whichtests to run just a subset -- good for calling from Make.
2001-09-06 05:50:48 +00:00
Martin Pool
a4cf6bec19
Fix comment.
2001-09-06 04:56:55 +00:00
Martin Pool
0154b302ce
Fiddle umask again.
2001-09-06 04:56:02 +00:00
Martin Pool
ec99e9da81
Clean up output a little.
2001-09-06 02:30:06 +00:00